## siHardwareInputSemantic

### Introduced

v9.0 (2011)

### Description

Describes the standard vertex attribute hardware slot for a Realtime Shader.

### C# Syntax

    siHardwareInputSemantic.siHardwareSemanticPosition                          // 0
    siHardwareInputSemantic.siHardwareSemanticNormal                            // 1
    siHardwareInputSemantic.siHardwareSemanticColor0                            // 2
    siHardwareInputSemantic.siHardwareSemanticColor1                            // 3
    siHardwareInputSemantic.siHardwareSemanticTexcoord0                         // 4
    siHardwareInputSemantic.siHardwareSemanticTexcoord1                         // 5
    siHardwareInputSemantic.siHardwareSemanticTexcoord2                         // 6
    siHardwareInputSemantic.siHardwareSemanticTexcoord3                         // 7
    siHardwareInputSemantic.siHardwareSemanticTexcoord4                         // 8
    siHardwareInputSemantic.siHardwareSemanticTexcoord5                         // 9
    siHardwareInputSemantic.siHardwareSemanticTexcoord6                         // 10
    siHardwareInputSemantic.siHardwareSemanticTexcoord7                         // 11
    siHardwareInputSemantic.siHardwareSemanticTexcoord8                         // 12
    siHardwareInputSemantic.siHardwareSemanticTexcoord9                         // 13
    siHardwareInputSemantic.siHardwareSemanticTexcoord10                        // 14
    siHardwareInputSemantic.siHardwareSemanticTexcoord11                        // 15
    siHardwareInputSemantic.siHardwareSemanticTexcoord12                        // 16
    siHardwareInputSemantic.siHardwareSemanticTexcoord13                        // 17
    siHardwareInputSemantic.siHardwareSemanticTexcoord14                        // 18
    siHardwareInputSemantic.siHardwareSemanticTexcoord15                        // 19
    siHardwareInputSemantic.siHardwareSemanticAttr0                             // 20
    siHardwareInputSemantic.siHardwareSemanticAttr1                             // 21
    siHardwareInputSemantic.siHardwareSemanticAttr2                             // 22
    siHardwareInputSemantic.siHardwareSemanticAttr3                             // 23
    siHardwareInputSemantic.siHardwareSemanticAttr4                             // 24
    siHardwareInputSemantic.siHardwareSemanticAttr5                             // 25
    siHardwareInputSemantic.siHardwareSemanticAttr6                             // 26
    siHardwareInputSemantic.siHardwareSemanticAttr7                             // 27
    siHardwareInputSemantic.siHardwareSemanticAttr8                             // 28
    siHardwareInputSemantic.siHardwareSemanticAttr9                             // 29
    siHardwareInputSemantic.siHardwareSemanticAttr10                            // 30
    siHardwareInputSemantic.siHardwareSemanticAttr11                            // 31
    siHardwareInputSemantic.siHardwareSemanticAttr12                            // 32
    siHardwareInputSemantic.siHardwareSemanticAttr13                            // 33
    siHardwareInputSemantic.siHardwareSemanticAttr14                            // 34
    siHardwareInputSemantic.siHardwareSemanticAttr15                            // 35
    siHardwareInputSemantic.siHardwareSemanticFogcoord                          // 36
    siHardwareInputSemantic.siHardwareSemanticPsize                             // 37
    siHardwareInputSemantic.siHardwareSemanticTangent                           // 38
    siHardwareInputSemantic.siHardwareSemanticBinormal                          // 39
    siHardwareInputSemantic.siHardwareSemanticWeight                            // 40
    siHardwareInputSemantic.siHardwareSemanticIndice                            // 41
    siHardwareInputSemantic.siHardwareSemanticTessfactor                        // 42
    siHardwareInputSemantic.siHardwareSemanticDepth                             // 43
    siHardwareInputSemantic.siHardwareSemanticSample                            // 44
    siHardwareInputSemantic.siHardwareSemanticMax                               // 45

Constant | Value | Description
--- | --- | ---
siHardwareSemanticAttr0 | 20 | Passed using glVertexAttribute
siHardwareSemanticAttr1 | 21 | Passed using glVertexAttribute
siHardwareSemanticAttr2 | 22 | Passed using glVertexAttribute
siHardwareSemanticAttr3 | 23 | Passed using glVertexAttribute
siHardwareSemanticAttr4 | 24 | Passed using glVertexAttribute
siHardwareSemanticAttr5 | 25 | Passed using glVertexAttribute
siHardwareSemanticAttr6 | 26 | Passed using glVertexAttribute
siHardwareSemanticAttr7 | 27 | Passed using glVertexAttribute
siHardwareSemanticAttr8 | 28 | Passed using glVertexAttribute
siHardwareSemanticAttr9 | 29 | Passed using glVertexAttribute
siHardwareSemanticAttr10 | 30 | Passed using glVertexAttribute
siHardwareSemanticAttr11 | 31 | Passed using glVertexAttribute
siHardwareSemanticAttr12 | 32 | Passed using glVertexAttribute
siHardwareSemanticAttr13 | 33 | Passed using glVertexAttribute
siHardwareSemanticAttr14 | 34 | Passed using glVertexAttribute
siHardwareSemanticAttr15 | 35 | Passed using glVertexAttribute
siHardwareSemanticBinormal | 39 | Passed using glMultiTexCoord[7]
siHardwareSemanticColor0 | 2 | Passed using glColor
siHardwareSemanticColor1 | 3 | Passed using glSecondaryColor
siHardwareSemanticDepth | 43 | DirectX only (D3DDECLUSAGE_DEPTH).
siHardwareSemanticFogcoord | 36 | Passed using glFogCoord
siHardwareSemanticIndice | 41 | DirectX only (D3DDECLUSAGE_BLENDINDICES).
siHardwareSemanticMax | 45 | Max
siHardwareSemanticNormal | 1 | Passed using glNormal
siHardwareSemanticPosition | 0 | Passed using glVertex
siHardwareSemanticPsize | 37 | Passed using glPointSize
siHardwareSemanticSample | 44 | DirectX only (D3DDECLUSAGE_SAMPLE).
siHardwareSemanticTangent | 38 | Passed using glMultiTexCoord[6]
siHardwareSemanticTessfactor | 42 | DirectX only (D3DDECLUSAGE_TESSFACTOR).
siHardwareSemanticTexcoord0 | 4 | Passed using glMultiTexCoord
siHardwareSemanticTexcoord1 | 5 | Passed using glMultiTexCoord
siHardwareSemanticTexcoord2 | 6 | Passed using glMultiTexCoord
siHardwareSemanticTexcoord3 | 7 | Passed using glMultiTexCoord
siHardwareSemanticTexcoord4 | 8 | Passed using glMultiTexCoord
siHardwareSemanticTexcoord5 | 9 | Passed using glMultiTexCoord
siHardwareSemanticTexcoord6 | 10 | Passed using glMultiTexCoord
siHardwareSemanticTexcoord7 | 11 | Passed using glMultiTexCoord
siHardwareSemanticTexcoord8 | 12 | Passed using glMultiTexCoord
siHardwareSemanticTexcoord9 | 13 | Passed using glMultiTexCoord
siHardwareSemanticTexcoord10 | 14 | Passed using glMultiTexCoord
siHardwareSemanticTexcoord11 | 15 | Passed using glMultiTexCoord
siHardwareSemanticTexcoord12 | 16 | Passed using glMultiTexCoord
siHardwareSemanticTexcoord13 | 17 | Passed using glMultiTexCoord
siHardwareSemanticTexcoord14 | 18 | Passed using glMultiTexCoord
siHardwareSemanticTexcoord15 | 19 | Passed using glMultiTexCoord
siHardwareSemanticWeight | 40 | DirectX only (D3DDECLUSAGE_BLENDWEIGHT).

### Applies To

CHardwareAttribute::PutSemanticValue CHardwareAttribute::GetSemantic CHardwareAttribute::PutSemanticValue