RenderContext Properties |
The RenderContext type exposes the following members.
Name | Description | |
---|---|---|
CameraNode |
Gets or sets the active camera.
| |
Data |
Gets a generic collection of name/value pairs which can be used to store custom data.
| |
DeltaTime |
Gets the elapsed time since the last frame.
| |
Frame |
Gets or sets the number of the current frame.
| |
GBuffer0 |
Gets or sets the first texture containing G-buffer data.
| |
GBuffer1 |
Gets or sets the second texture containing G-buffer data.
| |
GBuffer2 |
Gets or sets the third texture containing G-buffer data.
| |
GBuffer3 |
Gets or sets the fourth texture containing G-buffer data.
| |
GraphicsService |
Gets or sets the graphics service.
| |
LightBuffer0 |
Gets or sets the first texture containing light buffer data.
| |
LightBuffer1 |
Gets or sets the first texture containing light buffer data.
| |
LodBias |
Gets or sets the global LOD bias.
| |
LodBlendingEnabled |
Gets or sets a value indicating whether smooth LOD transitions are enabled.
| |
LodCameraNode |
Gets or sets the camera that is used as reference for LOD calculations.
| |
LodHysteresis |
Gets or sets the LOD hysteresis, which is the distance over which an object transitions from
on level of detail to the next level. (Needs to be normalized - see remarks.)
| |
MaterialBinding |
Gets or sets the effect binding of the current material.
| |
MaterialInstanceBinding |
Gets or sets the effect binding of the current material instance.
| |
Object |
Gets or sets the current data object.
| |
PassIndex |
Gets or sets the index of the current EffectPass.
| |
PresentationTarget |
Gets or sets the PresentationTarget that is currently being rendered.
| |
ReferenceNode |
Gets or sets a scene node that provides additional context for the current render operation.
| |
RenderPass |
Gets or sets a string that identifies the current render pass.
| |
RenderTarget |
Gets or sets the target of the current rendering operations.
| |
Scene |
Gets or sets the scene.
| |
SceneNode |
Gets or sets the currently rendered scene node.
| |
SceneTexture |
Gets or sets the texture that contains the rendered scene.
| |
Screen |
Gets or sets the GraphicsScreen that is currently being rendered.
| |
SourceTexture |
Gets or sets the source texture that contains the source image for the current render
operation.
| |
Technique |
Gets or sets a string that identifies the current technique.
| |
Time |
Gets the total elapsed time.
| |
UserData |
Gets or sets a user-defined object.
| |
Viewport |
Gets the viewport (= the portion of the back buffer that should be used for rendering).
|