Click or drag to resize
AB4D logo

RenderableInstancedObjectsNode Class

RenderableMesh class is a RenderablePrimitive that can be used to render multiple instances of geometry based DXScene's ObjectNode and where the instances are defined by VertexBufferBinding.
Inheritance Hierarchy
SystemObject
  Ab3d.DirectXRenderablePrimitiveBase
    Ab3d.DirectXRenderablePrimitive
      Ab3d.DirectXRenderableObjectNodePrimitive
        Ab3d.DirectXRenderableInstancedObjectsNode

Namespace:  Ab3d.DirectX
Assembly:  Ab3d.DXEngine (in Ab3d.DXEngine.dll) Version: 2.3.6548.1040
Syntax
C#
public class RenderableInstancedObjectsNode : RenderableObjectNodePrimitive

The RenderableInstancedObjectsNode type exposes the following members.

Constructors
  NameDescription
Public methodRenderableInstancedObjectsNode
Initializes a new instance of the RenderableInstancedObjectsNode class.
Top
Methods
  NameDescription
Public methodRenderGeometry
RenderGeometry renders the geometry (executes draw calls but does not apply material settings)
(Overrides RenderablePrimitiveRenderGeometry(RenderingContext).)
Top
Fields
  NameDescription
Public fieldInstanceBufferBinding
VertexBufferBinding that represents instances buffer
Public fieldInstancesCount
The number of instances
Public fieldStartInstanceLocation
The start index of the instances in InstanceBufferBinding
Public fieldUseInstanceObjectColor
Defines the source of the object diffuse color: if true (by default) then color defined in instance buffer is used; if false color defined in IDiffuseMaterial is used for all instaces.
Top
See Also