SKMeshIndexBuffer Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Represents a CPU- or GPU-backed buffer holding the index data of a mesh.
public class SKMeshIndexBuffer : SkiaSharp.SKObject
- Inheritance
Properties
| Name | Description |
|---|---|
| Handle |
Gets or sets the handle to the underlying native object. (Inherited from SKObject) |
| IgnorePublicDispose |
Gets a value indicating whether the call the public Dispose() should be no-op. (Inherited from SKNativeObject) |
| IsDisposed |
Gets a value indicating whether the object has already been disposed. (Inherited from SKNativeObject) |
| OwnsHandle |
Gets or sets a value indicating whether this object owns its handle and should destroy the native object when it is disposed. (Inherited from SKNativeObject) |
| Size |
Gets the size of the buffer, in bytes. |
Methods
| Name | Description |
|---|---|
| Copy() |
Creates a CPU-backed copy of this index buffer. |
| Copy(GRContext) |
Creates a GPU-backed copy of this index buffer. |
| Create(GRContext, Int32) |
Creates a zero-initialized GPU-backed index buffer of the specified size. |
| Create(GRContext, IntPtr, Int32) |
Creates a GPU-backed index buffer containing a copy of |
| Create(GRContext, ReadOnlySpan<Byte>) |
Creates a GPU-backed index buffer containing a copy of the supplied data. |
| Create(Int32) |
Creates a zero-initialized CPU-backed index buffer of the specified size. |
| Create(IntPtr, Int32) |
Creates a CPU-backed index buffer containing a copy of |
| Create(ReadOnlySpan<Byte>) |
Creates a CPU-backed index buffer containing a copy of the supplied data. |
| Dispose() |
Releases all resources used by this SKNativeObject. (Inherited from SKNativeObject) |
| Dispose(Boolean) |
Releases the unmanaged resources used by the buffer and optionally releases the managed resources. |
| DisposeInternal() |
Triggers a dispose, ignoring the value of IgnorePublicDispose. (Inherited from SKNativeObject) |
| DisposeManaged() |
Implemented by derived SKObject types to destroy any managed objects. (Inherited from SKObject) |
| DisposeNative() |
Implemented by derived SKObject types to destroy any native objects. (Inherited from SKObject) |
| DisposeUnownedManaged() |
Implemented by derived SKObject types to dispose managed objects that are not owned by this instance. (Inherited from SKObject) |
| Update(GRContext, IntPtr, Int32, Int32) |
Updates a region of a GPU-backed index buffer with |
| Update(GRContext, ReadOnlySpan<Byte>, Int32) |
Updates a region of a GPU-backed index buffer with the supplied bytes. |
| Update(IntPtr, Int32, Int32) |
Updates a region of a CPU-backed index buffer with |
| Update(ReadOnlySpan<Byte>, Int32) |
Updates a region of a CPU-backed index buffer with the supplied bytes. |