|
RenderablePrimitive(Object, Material, PrimitiveTopology, InputLayoutType, VertexBufferBinding, Buffer, Format, Int32, Int32, Int32, Bounds) Constructor |
Namespace: Ab3d.DirectXAssembly: Ab3d.DXEngine (in Ab3d.DXEngine.dll) Version: 7.0.8865.1045
Syntax public RenderablePrimitive(
Object originalObject,
Material material,
PrimitiveTopology primitiveTopology,
InputLayoutType inputLayoutType,
VertexBufferBinding[] vertexBufferBindings,
Buffer indexBuffer,
Format indexBufferFormat,
int indexCount,
int startIndexLocation,
int baseVertexLocation,
Bounds bounds
)
Parameters
- originalObject Object
- The original object.
- material Material
- Material
- primitiveTopology PrimitiveTopology
- PrimitiveTopology
- inputLayoutType InputLayoutType
- InputLayoutType
- vertexBufferBindings VertexBufferBinding
- array of VertexBufferBinding
- indexBuffer Buffer
- IndexBuffer
- indexBufferFormat Format
- format of IndexBuffer
- indexCount Int32
- Number of indices to render
- startIndexLocation Int32
- start index in IndexBuffer used in DrawIndexed method
- baseVertexLocation Int32
- start index in VertexBuffer used in DrawIndexed method
- bounds Bounds
- bounds
See Also