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
KVObjectstaticComboId
longattributes
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
StreamstaticComboId
longprogramData
VfxProgramData
Properties
Attributes
Gets the shader attributes.
public VfxShaderAttribute[] Attributes { get; }
Property Value
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
DynamicComboVariables
Gets the dynamic combo variables.
public VfxVariableIndexArray[] DynamicComboVariables { get; }
Property Value
DynamicCombos
Gets the dynamic combos render state info.
public VfxRenderStateInfo[] DynamicCombos { get; }
Property Value
Flagbyte0
Gets whether the first constant-buffer flag is set.
public bool Flagbyte0 { get; }
Property Value
Flagbyte1
Gets the second flag byte.
public byte Flagbyte1 { get; }
Property Value
Flagbyte2
Gets whether the third flag is set.
public bool Flagbyte2 { get; }
Property Value
ParentProgramData
Gets the parent program data or null after disposal.
public VfxProgramData? ParentProgramData { get; }
Property Value
ShaderFiles
Gets the shader files for this combo.
public VfxShaderFile[] ShaderFiles { get; }
Property Value
StaticComboId
Gets the static combo identifier.
public long StaticComboId { get; }
Property Value
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
Methods
AttributesStringDescription()
Returns a string description of all attributes.
public string AttributesStringDescription()
Returns
Dispose()
Disposes resources by clearing the parent program data reference.
public void Dispose()