Class RendererState
Saves the current status of the rendered scene a set of CollapsingStateStack<T>
Implements
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Fusee.Engine.Core
Assembly: Fusee.Engine.Core.dll
Syntax
public class RendererState : VisitorState, IStateStack
Constructors
RendererState()
Creates a new instance of type RenderState.
Declaration
public RendererState()
Fields
_canvasXForm
State of the CanvasXForm.
Declaration
protected CollapsingStateStack<float4x4> _canvasXForm
Field Value
Type | Description |
---|---|
CollapsingStateStack<float4x4> |
_effect
State of the ShaderEffect.
Declaration
protected CollapsingStateStack<Effect> _effect
Field Value
Type | Description |
---|---|
CollapsingStateStack<Effect> |
_model
State of the Model Matrix.
Declaration
protected CollapsingStateStack<float4x4> _model
Field Value
Type | Description |
---|---|
CollapsingStateStack<float4x4> |
_renderLayer
State of the RenderLayer.
Declaration
protected CollapsingStateStack<RenderLayer> _renderLayer
Field Value
Type | Description |
---|---|
CollapsingStateStack<RenderLayer> |
_renderModification
State of the RenderLayer.
Declaration
protected CollapsingStateStack<RenderFlags> _renderModification
Field Value
Type | Description |
---|---|
CollapsingStateStack<RenderFlags> |
_uiRect
State of the MinMaxRect.
Declaration
protected CollapsingStateStack<MinMaxRect> _uiRect
Field Value
Type | Description |
---|---|
CollapsingStateStack<MinMaxRect> |
Properties
CanvasXForm
Gets and sets the top of stack of the CanvasXForm state stack.
Declaration
public float4x4 CanvasXForm { get; set; }
Property Value
Type | Description |
---|---|
float4x4 |
Effect
Gets and sets the shader effect.
Declaration
public Effect Effect { get; set; }
Property Value
Type | Description |
---|---|
Effect |
Model
Gets and sets the top of stack of the Model Matrix state stack.
Declaration
public float4x4 Model { get; set; }
Property Value
Type | Description |
---|---|
float4x4 |
RenderLayer
Gets and sets the RenderLayer.
Declaration
public RenderLayer RenderLayer { get; set; }
Property Value
Type | Description |
---|---|
RenderLayer |
UiRect
Gets and sets the top of stack of the MinMaxRext state stack.
Declaration
public MinMaxRect UiRect { get; set; }
Property Value
Type | Description |
---|---|
MinMaxRect |