Table of Contents

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

data KVObject
blockIndex int

VfxCombo(BinaryReader, int)

Initializes a new instance from a binary reader.

public VfxCombo(BinaryReader datareader, int blockIndex)

Parameters

datareader BinaryReader
blockIndex int

Properties

AliasName

Gets the alias name.

public string AliasName { get; }

Property Value

string

BlockIndex

Gets the block index.

public int BlockIndex { get; }

Property Value

int

CalculatedComboId

Gets or sets the calculated combo identifier.

public long CalculatedComboId { get; set; }

Property Value

long

ComboSourceType

Gets the combo source type.

public int ComboSourceType { get; }

Property Value

int

ComboType

Gets the combo type (static or dynamic).

public VfxComboType ComboType { get; }

Property Value

VfxComboType

FeatureComparisonValue

Gets the feature comparison value.

public int FeatureComparisonValue { get; }

Property Value

int

FeatureIndex

Gets the feature index.

public int FeatureIndex { get; }

Property Value

int

Name

Gets the combo name.

public string Name { get; }

Property Value

string

RangeMax

Gets the maximum value in the combo range.

public int RangeMax { get; }

Property Value

int

RangeMin

Gets the minimum value in the combo range.

public int RangeMin { get; }

Property Value

int

Strings

Gets the array of state names.

public string[] Strings { get; }

Property Value

string[]