GraphicsAPI reference
Struct RasterState
Namespace: MicroEngine.Graphics.Devices
Assembly: MicroEngine.Graphics.dll
Guide: The graphics device
Rasterizer state. Scissor is not here: it is dynamic pass state, always on (SetScissor).
public readonly struct RasterState : IEquatable<RasterState>Implements
Constructors
RasterState(CullMode, FrontFace)
Rasterizer state. Scissor is not here: it is dynamic pass state, always on (SetScissor).
public RasterState(CullMode Cull = CullMode.None, FrontFace Front = FrontFace.CounterClockwise)Parameters
Cull CullMode
Culling.
Front FrontFace
Front-face winding.
Properties
Cull
Culling.
public CullMode Cull { get; init; }Property Value
Front
Front-face winding.
public FrontFace Front { get; init; }Property Value
Methods
Deconstruct(out CullMode, out FrontFace)
public void Deconstruct(out CullMode Cull, out FrontFace Front)Parameters
Cull CullMode
Front FrontFace
Equals(object)
public override bool Equals(object obj)Parameters
obj object
Returns
Equals(RasterState)
public bool Equals(RasterState other)Parameters
other RasterState
Returns
GetHashCode()
public override int GetHashCode()Returns
ToString()
public override string ToString()Returns
Operators
operator ==(RasterState, RasterState)
public static bool operator ==(RasterState left, RasterState right)Parameters
left RasterState
right RasterState
Returns
operator !=(RasterState, RasterState)
public static bool operator !=(RasterState left, RasterState right)Parameters
left RasterState
right RasterState