Property | Type | Description | |
---|---|---|---|
Index | int | ||
InputSlot | int | ||
InstanceStepRate | int | ||
Name | string |
Method | Description | |
---|---|---|
VertexAttribute ( string name, int index, int inputSlot, int instanceStepRate ) : System |
|
public VertexAttribute ( string name, int index, int inputSlot, int instanceStepRate ) : System | ||
name | string | The HLSL semantic associated with this element in a shader input-signature. |
index | int | The semantic index for the element. A semantic index modifies a semantic, with an integer index number. A semantic index is only needed in a case where there is more than one element with the same semantic. |
inputSlot | int | An integer value that identifies the input-assembler (see input slot). Valid values are between 0 and 15. |
instanceStepRate | int | The number of instances to draw using the same per-instance data before advancing in the buffer by one element. Zero means pervertex data. |
return | System |