SKIndexedMeshBuilder.SetIndexBuffer Method
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.
Overloads
| Name | Description |
|---|---|
| SetIndexBuffer(SKMeshIndexBuffer) |
Configures the index buffer using all 16-bit indices in the buffer starting at byte offset 0. |
| SetIndexBuffer(SKMeshIndexBuffer, Int32) |
Configures the index buffer and index count starting at byte offset 0. |
| SetIndexBuffer(SKMeshIndexBuffer, Int32, Int32) |
Configures the index buffer, index count, and byte offset. |
SetIndexBuffer(SKMeshIndexBuffer)
Configures the index buffer using all 16-bit indices in the buffer starting at byte offset 0.
public void SetIndexBuffer(SkiaSharp.SKMeshIndexBuffer buffer);
Parameters
- buffer
- SKMeshIndexBuffer
The buffer holding the index data.
Applies to
SetIndexBuffer(SKMeshIndexBuffer, Int32)
Configures the index buffer and index count starting at byte offset 0.
public void SetIndexBuffer(SkiaSharp.SKMeshIndexBuffer buffer, int count);
Parameters
- buffer
- SKMeshIndexBuffer
The buffer holding the index data.
- count
- Int32
The number of indices to read.
Applies to
SetIndexBuffer(SKMeshIndexBuffer, Int32, Int32)
Configures the index buffer, index count, and byte offset.
public void SetIndexBuffer(SkiaSharp.SKMeshIndexBuffer buffer, int count, int offset);
Parameters
- buffer
- SKMeshIndexBuffer
The buffer holding the index data.
- count
- Int32
The number of indices to read.
- offset
- Int32
The byte offset of the first index.