Class VfxRenderStateInfoPixelShader.RsBlendStateDesc
- Namespace
- ValveResourceFormat.CompiledShader
- Assembly
- ValveResourceFormat.dll
Describes the blend state configuration for render targets.
public class VfxRenderStateInfoPixelShader.RsBlendStateDesc
Inheritance
Inherited Members
Constructors
RsBlendStateDesc(ReadOnlySpan<int>)
Initializes a new instance of the ValveResourceFormat.CompiledShader.VfxRenderStateInfoPixelShader.RsBlendStateDesc class.
public RsBlendStateDesc(ReadOnlySpan<int> blendStateBits)
Parameters
blendStateBits
ReadOnlySpan<int>
RsBlendStateDesc(BinaryReader)
Initializes a new instance of the ValveResourceFormat.CompiledShader.VfxRenderStateInfoPixelShader.RsBlendStateDesc class from a binary reader.
public RsBlendStateDesc(BinaryReader datareader)
Parameters
datareader
BinaryReader
Fields
MaxRenderTargets
Gets the maximum number of render targets.
public const int MaxRenderTargets = 8
Field Value
Properties
AlphaToCoverageEnable
Gets a value indicating whether alpha-to-coverage is enabled.
public bool AlphaToCoverageEnable { get; }
Property Value
BlendEnable
Gets an array indicating whether blending is enabled for each render target.
public bool[] BlendEnable { get; }
Property Value
- bool[]
BlendOp
Gets an array of blend operations for each render target.
public VfxRenderStateInfoPixelShader.RsBlendStateDesc.RsBlendOp[] BlendOp { get; }
Property Value
BlendOpAlpha
Gets an array of alpha blend operations for each render target.
public VfxRenderStateInfoPixelShader.RsBlendStateDesc.RsBlendOp[] BlendOpAlpha { get; }
Property Value
DestBlend
Gets an array of destination blend modes for each render target.
public VfxRenderStateInfoPixelShader.RsBlendStateDesc.RsBlendMode[] DestBlend { get; }
Property Value
DestBlendAlpha
Gets an array of destination alpha blend modes for each render target.
public VfxRenderStateInfoPixelShader.RsBlendStateDesc.RsBlendMode[] DestBlendAlpha { get; }
Property Value
HighPrecisionBlendEnable360
Gets the high precision blend enable value for Xbox 360.
public byte HighPrecisionBlendEnable360 { get; }
Property Value
IndependentBlendEnable
Gets a value indicating whether independent blending per render target is enabled.
public bool IndependentBlendEnable { get; }
Property Value
RenderTargetWriteMask
Gets an array of render target write masks for each render target.
public VfxRenderStateInfoPixelShader.RsBlendStateDesc.RsColorWriteEnableBits[] RenderTargetWriteMask { get; }
Property Value
SrcBlend
Gets an array of source blend modes for each render target.
public VfxRenderStateInfoPixelShader.RsBlendStateDesc.RsBlendMode[] SrcBlend { get; }
Property Value
SrcBlendAlpha
Gets an array of source alpha blend modes for each render target.
public VfxRenderStateInfoPixelShader.RsBlendStateDesc.RsBlendMode[] SrcBlendAlpha { get; }
Property Value
SrgbWriteEnable
Gets an array indicating whether sRGB write is enabled for each render target.
public bool[] SrgbWriteEnable { get; }
Property Value
- bool[]