Specifies the semantic and format of a single element in a vertex data stream.
The number of elements (the dimension, 1,2,3 or 4) in the specific format.
VertexElement | Specifies the semantic and format of a single element in a vertex data stream. |
semantic | The semantic usage of this element. |
type | The data format of this element. |
count | The plurality (1-4). |
name | The name of this vertex attribute. (Either the variable name or the semantic name). |
ctor (+1 overload) | |
SizeBytes()[const] | Returns the size of this element in bytes. |
SizeElems()[const] | Returns the dimension (1-4) of the vector data in this vector element. |
LoadFromFile(handle) | Loads this structure from the given binary file. |
SaveToFile(handle) | Saves this structure to the given file. |
DeserializeFromXML(e) | Loads this structure from the given XML file. |
ToString()[const] | Returns a string of format "(semantic): : (name) semantic: (type), count: (num)". |