Enum VariableFlags ​
Namespace: ValveResourceFormat.CompiledShader
Assembly: ValveResourceFormat.dll
Flags for shader variables, describing which binding state the variable affects. Stored in bits 8-15 of VfxVariableDescription.ContextStateAffectedByVariable; the rasterizer state bit sits below this range in bit 7.
csharp
[Flags]
public enum VariableFlags : byteFields ​
| Name | Value | Hex | Description |
|---|---|---|---|
DepthStencilState | 1 | 0x01 | Depth stencil state. |
BlendState | 2 | 0x02 | Blend state. |
Texture | 8 | 0x08 | Texture binding. Texture variables carry this together with VariableFlags.Sampler. |
Sampler | 16 | 0x10 | Sampler binding. |
Constant | 32 | 0x20 | Constant data. |
Uav | 64 | 0x40 | UAV binding. |
Bindless | 128 | 0x80 | External descriptor set binding. |

