Table of Contents

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

int

Properties

AlphaToCoverageEnable

Gets a value indicating whether alpha-to-coverage is enabled.

public bool AlphaToCoverageEnable { get; }

Property Value

bool

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

VfxRenderStateInfoPixelShader.RsBlendStateDesc.RsBlendOp[]

BlendOpAlpha

Gets an array of alpha blend operations for each render target.

public VfxRenderStateInfoPixelShader.RsBlendStateDesc.RsBlendOp[] BlendOpAlpha { get; }

Property Value

VfxRenderStateInfoPixelShader.RsBlendStateDesc.RsBlendOp[]

DestBlend

Gets an array of destination blend modes for each render target.

public VfxRenderStateInfoPixelShader.RsBlendStateDesc.RsBlendMode[] DestBlend { get; }

Property Value

VfxRenderStateInfoPixelShader.RsBlendStateDesc.RsBlendMode[]

DestBlendAlpha

Gets an array of destination alpha blend modes for each render target.

public VfxRenderStateInfoPixelShader.RsBlendStateDesc.RsBlendMode[] DestBlendAlpha { get; }

Property Value

VfxRenderStateInfoPixelShader.RsBlendStateDesc.RsBlendMode[]

HighPrecisionBlendEnable360

Gets the high precision blend enable value for Xbox 360.

public byte HighPrecisionBlendEnable360 { get; }

Property Value

byte

IndependentBlendEnable

Gets a value indicating whether independent blending per render target is enabled.

public bool IndependentBlendEnable { get; }

Property Value

bool

RenderTargetWriteMask

Gets an array of render target write masks for each render target.

public VfxRenderStateInfoPixelShader.RsBlendStateDesc.RsColorWriteEnableBits[] RenderTargetWriteMask { get; }

Property Value

VfxRenderStateInfoPixelShader.RsBlendStateDesc.RsColorWriteEnableBits[]

SrcBlend

Gets an array of source blend modes for each render target.

public VfxRenderStateInfoPixelShader.RsBlendStateDesc.RsBlendMode[] SrcBlend { get; }

Property Value

VfxRenderStateInfoPixelShader.RsBlendStateDesc.RsBlendMode[]

SrcBlendAlpha

Gets an array of source alpha blend modes for each render target.

public VfxRenderStateInfoPixelShader.RsBlendStateDesc.RsBlendMode[] SrcBlendAlpha { get; }

Property Value

VfxRenderStateInfoPixelShader.RsBlendStateDesc.RsBlendMode[]

SrgbWriteEnable

Gets an array indicating whether sRGB write is enabled for each render target.

public bool[] SrgbWriteEnable { get; }

Property Value

bool[]