|
MeshSetVertexBuffer Method |
SetVertexBuffer sets the
VertexBuffer and
VertexCount.
The method disposes any existing VertexBuffer and subscribes to Disposing event on the new vertexBuffer.
Namespace: Ab4d.SharpEngine.MeshesAssembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 2.0.8956+4c7684e186ca1be74e7a284fbe739d9a1b843d3c
Syntax protected void SetVertexBuffer(
GpuBuffer? vertexBuffer,
int vertexCount
)
Parameters
- vertexBuffer GpuBuffer
- vertexBuffer as GpuBuffer
- vertexCount Int32
- vertexCount
See Also