Table of Contents

Class VfxStaticComboData

Namespace
ValveResourceFormat.CompiledShader
Assembly
ValveResourceFormat.dll

Represents data for a static shader combination.

public class VfxStaticComboData

Inheritance

Inherited Members

Constructors

VfxStaticComboData(KVObject, long, VfxShaderAttribute[], KVObject[], VfxProgramData)

Initializes a new instance of the ValveResourceFormat.CompiledShader.VfxStaticComboData class from a KV object.

public VfxStaticComboData(KVObject data, long staticComboId, VfxShaderAttribute[] attributes, KVObject[] byteCodeDataArray, VfxProgramData programData)

Parameters

data KVObject
staticComboId long
attributes VfxShaderAttribute[]
byteCodeDataArray KVObject[]
programData VfxProgramData

VfxStaticComboData(Stream, long, VfxProgramData)

Initializes a new instance of the ValveResourceFormat.CompiledShader.VfxStaticComboData class from a stream.

public VfxStaticComboData(Stream stream, long staticComboId, VfxProgramData programData)

Parameters

stream Stream
staticComboId long
programData VfxProgramData

Properties

Attributes

Gets the shader attributes.

public VfxShaderAttribute[] Attributes { get; }

Property Value

VfxShaderAttribute[]

ConstantBufferBindInfoFlags

Gets the constant buffer bind info flags.

public byte[] ConstantBufferBindInfoFlags { get; }

Property Value

byte[]

ConstantBufferBindInfoSlots

Gets the constant buffer bind info slots.

public byte[] ConstantBufferBindInfoSlots { get; }

Property Value

byte[]

ConstantBufferSize

Gets the constant buffer size.

public int ConstantBufferSize { get; }

Property Value

int

DynamicComboVariables

Gets the dynamic combo variables.

public VfxVariableIndexArray[] DynamicComboVariables { get; }

Property Value

VfxVariableIndexArray[]

DynamicCombos

Gets the dynamic combos render state info.

public VfxRenderStateInfo[] DynamicCombos { get; }

Property Value

VfxRenderStateInfo[]

Flagbyte0

Gets whether the first constant-buffer flag is set.

public bool Flagbyte0 { get; }

Property Value

bool

Flagbyte1

Gets the second flag byte.

public byte Flagbyte1 { get; }

Property Value

byte

Flagbyte2

Gets whether the third flag is set.

public bool Flagbyte2 { get; }

Property Value

bool

ParentProgramData

Gets the parent program data or null after disposal.

public VfxProgramData? ParentProgramData { get; }

Property Value

VfxProgramData?

ShaderFiles

Gets the shader files for this combo.

public VfxShaderFile[] ShaderFiles { get; }

Property Value

VfxShaderFile[]

StaticComboId

Gets the static combo identifier.

public long StaticComboId { get; }

Property Value

long

VShaderInputs

Gets the vertex shader inputs.

public int[] VShaderInputs { get; }

Property Value

int[]

VariablesFromStaticCombo

Gets the variables from the static combo.

public VfxVariableIndexArray VariablesFromStaticCombo { get; }

Property Value

VfxVariableIndexArray

Methods

AttributesStringDescription()

Returns a string description of all attributes.

public string AttributesStringDescription()

Returns

string

Dispose()

Disposes resources by clearing the parent program data reference.

public void Dispose()