 |
MeshSetIndexBuffer Method |
SetIndexBuffer sets the
IndexBuffer and
IndexCount.
The method disposes any existing IndexBuffer and subscribes to Disposing event on the new indexBuffer.
Namespace: Ab4d.SharpEngine.MeshesAssembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 3.0.9208+3b2441d6a11f923f2600f40f4296bdc3d8b46035
Syntaxprotected void SetIndexBuffer(
GpuBuffer? indexBuffer,
int indexCount
)
Parameters
- indexBuffer GpuBuffer
- indexBuffer as GpuBuffer
- indexCount Int32
- indexCount
See Also