Renderable |
The RenderablePrimitiveBase type exposes the following members.
Name | Description | |
---|---|---|
Material | Material | |
MaterialFlags | 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. | |
OriginalObject | The original object that was used to create this RenderablePrimitiveBase. | |
OverrideMaterial | 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. | |
RelatedRenderablePrimitive | 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. | |
RenderingFlags | Flags that provide information on how this RenderablePrimitive is rendered. | |
WorldInverseTransposeMatrix | The world matrix that is inversed and transposed (normals are multiplied with this matrix) | |
WorldMatrix | The world matrix |