Class VfxCombo
Namespace: ValveResourceFormat.CompiledShader
Assembly: ValveResourceFormat.dll
Contains a definition for a shader combo, whether static, dynamic, or feature-specific.
public class VfxCombo : ShaderDataBlockInheritance
object ← ShaderDataBlock ← VfxCombo
Inherited Members
ShaderDataBlock.Start, ShaderDataBlock.ReadStringWithMaxLength(BinaryReader, int)
Remarks
Features may contain names describing each state.
Constructors
VfxCombo(KVObject, int, int)
Initializes a new instance from data.
public VfxCombo(KVObject data, int index, int vcsVersion)Parameters
data KVObject
index int
vcsVersion int
VfxCombo(BinaryReader, int, int)
Initializes a new instance from a binary reader.
public VfxCombo(BinaryReader datareader, int index, int vcsVersion)Parameters
datareader BinaryReader
index int
vcsVersion int
Properties
AliasName
Gets the alias name.
public string AliasName { get; }Property Value
ComboIndexValue
Gets or sets the offset this combo contributes to a combo id per state step.
public long ComboIndexValue { get; set; }Property Value
ComboSourceType
Gets the combo source type.
public int ComboSourceType { get; }Property Value
ComboType
Gets the combo type (static or dynamic).
public VfxComboType ComboType { get; }Property Value
FeatureComparisonValue
Gets the feature comparison value.
public int FeatureComparisonValue { get; }Property Value
FeatureIndex
Gets the feature index.
public int FeatureIndex { get; }Property Value
Index
Gets the index in the owning array.
public int Index { get; }Property Value
Name
Gets the combo name.
public string Name { get; }Property Value
RangeMax
Gets the maximum value in the combo range.
public int RangeMax { get; }Property Value
RangeMin
Gets the minimum value in the combo range.
public int RangeMin { get; }Property Value
StateNames
Gets the display name of each state.
public string[] StateNames { get; }Property Value
string[]

