| GraphicsScreenRenderPreviousScreensToTexture Property |
Gets or sets a value indicating whether the previous graphics screens should render into an
off-screen render target.
Namespace: DigitalRune.GraphicsAssembly: DigitalRune.Graphics (in DigitalRune.Graphics.dll) Version: 1.2.0.0 (1.2.1.14562)
Syntax public bool RenderPreviousScreensToTexture { get; set; }
Public Property RenderPreviousScreensToTexture As Boolean
Get
Set
public:
property bool RenderPreviousScreensToTexture {
bool get ();
void set (bool value);
}
member RenderPreviousScreensToTexture : bool with get, set
Property Value
Type:
Boolean if graphics screens below this screen should render into an
off-screen render target; otherwise,
to render into the back buffer.
The default value is
.
Remarks
Usually, each graphics screen renders into a back buffer, but in some cases a graphics
screen wants to further process the result of the previous graphics screens. This can be
used, for example, to apply post-processing effects to the result of the graphics screens.
In this case
RenderPreviousScreensToTexture is set to
.
SourceTextureFormat defines the format of the off-screen render target.
The result of the previous screens is available as the
SourceTexture in the
RenderContext.
See Also