Click or drag to resize
AB4D logo

RenderablePrimitiveChangeVertexBuffer Method

ChangeVertexBuffer changes the vertex buffer used by this RenderablePrimitive.

Namespace: Ab3d.DirectX
Assembly: Ab3d.DXEngine (in Ab3d.DXEngine.dll) Version: 7.0.8865.1045
Syntax
C#
public void ChangeVertexBuffer(
	VertexBufferBinding newVertexBufferBinding,
	int vertexBufferBindingIndex = 0
)

Parameters

newVertexBufferBinding  VertexBufferBinding
new VertexBufferBinding
vertexBufferBindingIndex  Int32  (Optional)
index of VertexBufferBinding in the VertexBufferBindings array (default value is 0)
See Also