Click or drag to resize
AB4D logo

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

Initializes a new instance of the RenderablePrimitive class.

Namespace: Ab3d.DirectX
Assembly: Ab3d.DXEngine (in Ab3d.DXEngine.dll) Version: 7.0.8865.1045
Syntax
C#
public RenderablePrimitive(
	Object originalObject,
	Material material,
	PrimitiveTopology primitiveTopology,
	InputLayoutType inputLayoutType,
	VertexBufferBinding[] vertexBufferBindings,
	Buffer indexBuffer,
	Format indexBufferFormat,
	int indexCount,
	int startIndexLocation,
	int baseVertexLocation
)

Parameters

originalObject  Object
The original object that was used to create this RenderablePrimitive
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
See Also