| RebuildZBufferRendererRender Method (RenderContext, Boolean) |
Rebuilds the current hardware Z-buffer from the G-Buffer and clears or preserves the current
render target.
Namespace: DigitalRune.Graphics.RenderingAssembly: DigitalRune.Graphics (in DigitalRune.Graphics.dll) Version: 1.2.0.0 (1.2.1.14562)
Syntax public void Render(
RenderContext context,
bool preserveColor
)
Public Sub Render (
context As RenderContext,
preserveColor As Boolean
)
public:
void Render(
RenderContext^ context,
bool preserveColor
)
member Render :
context : RenderContext *
preserveColor : bool -> unit
Parameters
- context
- Type: DigitalRune.GraphicsRenderContext
The render context. (CameraNode and
GBuffer0 need to be set.)
- preserveColor
- Type: SystemBoolean
If set to color writes are disabled to preserve the current content;
otherwise, to clear the color target.
Exceptions Remarks
Note that the option preserveColor (to disable color writes) is not
supported by all render target formats.
See Also