Click or drag to resize
AB4D logo

RenderablePrimitiveBase Fields

The RenderablePrimitiveBase type exposes the following members.

Fields
 NameDescription
Public fieldMaterial Material
Public fieldMaterialFlags MaterialFlags can be used by Materials to add some values that could be used to improve performance. Currently they are used by StandardEffect (DirectionalLightShader and SuperShader) to mark which constant buffer values are the same as in the previous RenderablePrimitiveBase.
Public fieldOriginalObject The original object that was used to create this RenderablePrimitiveBase.
Public fieldOverrideMaterial OverrideMaterial can be set to override the Material when rendering but still preserve the original Material. It can be set by some other object that wanted to change the rendering behavior of this RenderablePrimitiveBase.
Public fieldRelatedRenderablePrimitive RenderablePrimitive objects that is related to this RenderablePrimitive. Usually this is link to back-face RenderablePrimitive or to front-face RenderablePrimitive (for RenderablePrimitive that renders back-face). This field is used in CameraDistanceSortedRenderingQueue to put back-face RenderablePrimitive before front-face RenderablePrimitive.
Public fieldRenderingFlags Flags that provide information on how this RenderablePrimitive is rendered.
Public fieldWorldInverseTransposeMatrix The world matrix that is inversed and transposed (normals are multiplied with this matrix)
Public fieldWorldMatrix The world matrix
Top
See Also