Class VfxCombo
- Namespace
- ValveResourceFormat.CompiledShader
- Assembly
- ValveResourceFormat.dll
Contains a definition for a shader combo, whether static, dynamic, or feature-specific.
public class VfxCombo : ShaderDataBlock
Inheritance
Inherited Members
Remarks
These are usually 152 bytes long. Features may contain names describing each state
Constructors
VfxCombo(KVObject, int)
Initializes a new instance from ValveResourceFormat.Serialization.KeyValues.KVObject data.
public VfxCombo(KVObject data, int blockIndex)
Parameters
VfxCombo(BinaryReader, int)
Initializes a new instance from a binary reader.
public VfxCombo(BinaryReader datareader, int blockIndex)
Parameters
datareader
BinaryReaderblockIndex
int
Properties
AliasName
Gets the alias name.
public string AliasName { get; }
Property Value
BlockIndex
Gets the block index.
public int BlockIndex { get; }
Property Value
CalculatedComboId
Gets or sets the calculated combo identifier.
public long CalculatedComboId { 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
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
Strings
Gets the array of state names.
public string[] Strings { get; }
Property Value
- string[]