|
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: 2.0.8956+4c7684e186ca1be74e7a284fbe739d9a1b843d3c
Syntax protected void SetIndexBuffer(
GpuBuffer? indexBuffer,
int indexCount
)
Parameters
- indexBuffer GpuBuffer
- indexBuffer as GpuBuffer
- indexCount Int32
- indexCount
See Also