Click or drag to resize
AB4D logo

RenderablePrimitive(Object, Material, PrimitiveTopology, InputLayoutType, VertexBufferBinding, Buffer, Format, Int32, Int32, Int32, Matrix, Bounds) Constructor

Initializes a new instance of the RenderablePrimitive class.

Namespace: Ab3d.DirectX
Assembly: Ab3d.DXEngine (in Ab3d.DXEngine.dll) Version: 7.1.9105.2048 (1.0.0.0)
Syntax
C#
public RenderablePrimitive(
	Object originalObject,
	Material material,
	PrimitiveTopology primitiveTopology,
	InputLayoutType inputLayoutType,
	VertexBufferBinding[] vertexBufferBindings,
	Buffer indexBuffer,
	Format indexBufferFormat,
	int indexCount,
	int startIndexLocation,
	int baseVertexLocation,
	ref Matrix worldMatrix,
	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
worldMatrix  Matrix
world matrix
bounds  Bounds
bounds
See Also