Struct VfxVariableIndexData ​
Namespace: ValveResourceFormat.CompiledShader
Assembly: ValveResourceFormat.dll
One write sequence entry: a variable index paired with the register offset it is written to.
csharp
public readonly struct VfxVariableIndexDataProperties ​
BindingSlot ​
Gets the binding slot, the low byte of the register offset. It is 255 when the variable has no register.
csharp
public int BindingSlot { get; }Property Value ​
Control ​
Gets the high byte of the register offset. Only meaningful for constant buffer bindings, where it appears to be the buffer's base register in a linearly allocated constant register space.
csharp
public int Control { get; }Property Value ​
LayoutSet ​
Gets the descriptor set ID in the shader layout.
csharp
public int LayoutSet { get; }Property Value ​
PackedIndex ​
Gets the packed variable index and layout set.
csharp
public short PackedIndex { get; init; }Property Value ​
RegisterOffset ​
Gets the register offset the variable is written to.
csharp
public short RegisterOffset { get; init; }Property Value ​
VariableIndex ​
Gets the variable index into .
csharp
public int VariableIndex { get; }
