Click or drag to resize
DigitalRuneRenderContext Properties

The RenderContext type exposes the following members.

Properties
  NameDescription
Public propertyCameraNode
Gets or sets the active camera.
Public propertyData
Gets a generic collection of name/value pairs which can be used to store custom data.
Public propertyDeltaTime
Gets the elapsed time since the last frame.
Public propertyFrame
Gets or sets the number of the current frame.
Public propertyGBuffer0
Gets or sets the first texture containing G-buffer data.
Public propertyGBuffer1
Gets or sets the second texture containing G-buffer data.
Public propertyGBuffer2
Gets or sets the third texture containing G-buffer data.
Public propertyGBuffer3
Gets or sets the fourth texture containing G-buffer data.
Public propertyGraphicsService
Gets or sets the graphics service.
Public propertyLightBuffer0
Gets or sets the first texture containing light buffer data.
Public propertyLightBuffer1
Gets or sets the first texture containing light buffer data.
Public propertyLodBias
Gets or sets the global LOD bias.
Public propertyLodBlendingEnabled
Gets or sets a value indicating whether smooth LOD transitions are enabled.
Public propertyLodCameraNode
Gets or sets the camera that is used as reference for LOD calculations.
Public propertyLodHysteresis
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.)
Public propertyMaterialBinding
Gets or sets the effect binding of the current material.
Public propertyMaterialInstanceBinding
Gets or sets the effect binding of the current material instance.
Public propertyObject
Gets or sets the current data object.
Public propertyPassIndex
Gets or sets the index of the current EffectPass.
Public propertyPresentationTarget
Gets or sets the PresentationTarget that is currently being rendered.
Public propertyReferenceNode
Gets or sets a scene node that provides additional context for the current render operation.
Public propertyRenderPass
Gets or sets a string that identifies the current render pass.
Public propertyRenderTarget
Gets or sets the target of the current rendering operations.
Public propertyScene
Gets or sets the scene.
Public propertySceneNode
Gets or sets the currently rendered scene node.
Public propertySceneTexture
Gets or sets the texture that contains the rendered scene.
Public propertyScreen
Gets or sets the GraphicsScreen that is currently being rendered.
Public propertySourceTexture
Gets or sets the source texture that contains the source image for the current render operation.
Public propertyTechnique
Gets or sets a string that identifies the current technique.
Public propertyTime
Gets the total elapsed time.
Public propertyUserData
Gets or sets a user-defined object.
Public propertyViewport
Gets the viewport (= the portion of the back buffer that should be used for rendering).
Top
See Also