Enum D3DVertexUsage ​
Namespace: ValveResourceFormat.CompiledShader
Assembly: ValveResourceFormat.dll
Vertex attribute usage, as packed into VfxShaderFileVulkan.AttribMap to identify vertex shader inputs. These follow the legacy D3DDECLUSAGE values, except that the fixed function only POSITIONT is absent, which shifts everything from D3DVertexUsage.Color onwards down by one. Only the usages up to and including D3DVertexUsage.Color have been observed in shipped shaders.
csharp
public enum D3DVertexUsageFields ​
| Name | Value | Description |
|---|---|---|
Position | 0 | |
BlendWeight | 1 | |
BlendIndices | 2 | |
Normal | 3 | |
PSize | 4 | |
TexCoord | 5 | |
Tangent | 6 | |
Binormal | 7 | |
TessFactor | 8 | |
Color | 9 | |
Fog | 10 | |
Depth | 11 | |
Sample | 12 |

