Struct RsRasterizerStateDesc ​
Namespace: ValveResourceFormat.CompiledShader
Assembly: ValveResourceFormat.dll
Describes the rasterizer state configuration.
csharp
public record struct RsRasterizerStateDesc : IEquatable<RsRasterizerStateDesc>Implements ​
IEquatable<RsRasterizerStateDesc>
Constructors ​
RsRasterizerStateDesc(ReadOnlySpan<int>) ​
Reads the descriptor from packed bits.
csharp
public RsRasterizerStateDesc(ReadOnlySpan<int> rasterizerStateBits)Parameters ​
rasterizerStateBits ReadOnlySpan<int>
RsRasterizerStateDesc(BinaryReader) ​
Reads the descriptor from a binary reader.
csharp
public RsRasterizerStateDesc(BinaryReader datareader)Parameters ​
datareader BinaryReader
Properties ​
CullMode ​
Face culling mode.
csharp
public RsCullMode CullMode { readonly get; set; }Property Value ​
DepthBias ​
Constant depth bias, in the smallest resolvable depth units.
csharp
public int DepthBias { readonly get; set; }Property Value ​
DepthBiasClamp ​
Maximum total depth bias; 0 disables clamping.
csharp
public float DepthBiasClamp { readonly get; set; }Property Value ​
DepthClipEnable ​
Whether geometry is clipped against the depth range.
csharp
public bool DepthClipEnable { readonly get; set; }Property Value ​
FillMode ​
Polygon fill mode.
csharp
public RsFillMode FillMode { readonly get; set; }Property Value ​
MultisampleEnable ​
Whether multisampling is enabled.
csharp
public bool MultisampleEnable { readonly get; set; }Property Value ​
SlopeScaledDepthBias ​
Depth bias scaled by the polygon's depth slope.
csharp
public float SlopeScaledDepthBias { readonly get; set; }Property Value ​
See Also ​
https://s2v.app/SchemaExplorer/cs2/rendersystemdx11/RsRasterizerStateDesc_t

