 |
InputElementFactoryCreateInputElement Method |
Create one InputElement based on the supplied parameters
Namespace: Ab3d.DirectXAssembly: Ab3d.DXEngine (in Ab3d.DXEngine.dll) Version: 7.1.9105.2048 (1.0.0.0)
Syntaxpublic static InputElement CreateInputElement(
string semanticName,
int alignedByteOffset,
Format format,
int semanticIndex = 0,
int inputSlot = 0,
InputClassification inputSlotClass = InputClassification.PerVertexData,
int instanceDataStepRate = 0
)
Parameters
- semanticName String
- semanticName
- alignedByteOffset Int32
- alignedByteOffset
- format Format
- format
- semanticIndex Int32 (Optional)
- semanticIndex
- inputSlot Int32 (Optional)
- inputSlot
- inputSlotClass InputClassification (Optional)
- inputSlotClass
- instanceDataStepRate Int32 (Optional)
- instanceDataStepRate
Return Value
InputElementInputElement
See Also