Class UIRenderingContext
The UI drawing context. It provides information about how to render UIElements for drawing.
public class UIRenderingContext
- Inheritance
-
UIRenderingContext
Fields
Resolution
Gets the virtual resolution of the UI.
public Vector3 Resolution
Field Value
ViewProjectionMatrix
Gets the view projection matrix of the UI.
public Matrix ViewProjectionMatrix
Field Value
Properties
DepthBias
The value of the depth bias to use for draw call.
public int DepthBias { get; set; }
Property Value
DepthStencilBuffer
The final depth stencil buffer to draw to.
public Texture DepthStencilBuffer { get; set; }
Property Value
GraphicsContext
The active graphics context.
public GraphicsContext GraphicsContext { get; set; }
Property Value
RenderTarget
The final render target to draw to.
public Texture RenderTarget { get; set; }
Property Value
ShouldSnapText
Gets or sets the value indicating if UI text should be snapped.
public bool ShouldSnapText { get; set; }
Property Value
StencilTestReferenceValue
The current reference value for the stencil test.
public int StencilTestReferenceValue { get; set; }
Property Value
Time
The current time.
public GameTime Time { get; }