![]() |
wisdom
|
C version:
C++ version:
binding_index specifies index into an array of bindings that the attribute is tied to.semantic_name defines semantic name of the attribute in HLSL; it must be unique and null-terminated.semantic_index indicates semantic index of the attribute in HLSL; it must be unique.location describes location of the attribute in HLSL; it must be unique.format describes data format of the attribute.offset_bytes describes offset in bytes from the beginning of the vertex.