Back to class index

Class VertexElement

Summary

Specifies the semantic and format of a single element in a vertex data stream.

Description

The number of elements (the dimension, 1,2,3 or 4) in the specific format.

Member Reference

VertexElementSpecifies the semantic and format of a single element in a vertex data stream.
semanticThe semantic usage of this element.
typeThe data format of this element.
countThe plurality (1-4).
nameThe 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)".
Back to class index