| RenderContextSceneTexture Property |
Gets or sets the texture that contains the rendered scene.
Namespace: DigitalRune.GraphicsAssembly: DigitalRune.Graphics (in DigitalRune.Graphics.dll) Version: 1.2.0.0 (1.2.1.14562)
Syntax public Texture2D SceneTexture { get; set; }
Public Property SceneTexture As Texture2D
Get
Set
public:
property Texture2D^ SceneTexture {
Texture2D^ get ();
void set (Texture2D^ value);
}
member SceneTexture : Texture2D with get, set
Property Value
Type:
Texture2D
The scene texture; or
if there is no scene texture available.
Remarks
This property is usually
. However, in operations like off-screen
rendering you need to combine an off-screen texture with the last scene texture. In this
case
SourceTexture will specify the off-screen texture and
SceneTexture will specify the last scene texture.
See Also