DebugRendererAutoRenderStates Property |
Namespace: DigitalRune.Graphics.Rendering
To be able to render the different categories of primitives (solid/wireframe, in/over scene opaque/transparent) the debug renderer automatically sets the required render states. If this property is , the renderer uses the render states currently set in the graphics device. This can be used, for example, to use the debug renderer to render models with additive blending. However, all primitives (solid/wireframe, in/over scene, etc.) will use the user-defined render state and might not be rendered as expected; for example if the blend state is set to "opaque", transparent primitives will also appear opaque.
Note: Points, text and textures ignore this property and are always rendered with automatic render states.