Enum D3DVertexUsage ​
Namespace: ValveResourceFormat.CompiledShader
Assembly: ValveResourceFormat.dll
Vertex attribute usage, as packed into to identify vertex shader inputs. These follow the legacy D3DDECLUSAGE values, except that the fixed function only POSITIONT is absent, which shifts everything from onwards down by one. Only the usages up to and including have been observed in shipped shaders.
csharp
public enum D3DVertexUsageExtension Methods ​
D3DVertexUsageExtensions.ToD3DSemanticName(D3DVertexUsage)
Fields ​
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

