Back to class index
VertexDeclaration[Class Summary]
elements
primType
indexType
size
ctor (+2 overloads)
Size()[const]
PrimType()[const]
IndexType()[const]
SetPrimType(type)
SetIndexType(type)
DataType(semantic)[const]
DataDimension(semantic)[const]
TypeOffset(semantic)[const]
HasType(semantic)[const]
Add(elem)
Remove(semantic)
LoadFromFile(handle)
SaveToFile(handle)
DeserializeFromXML(e)
DumpToConsole()[const]

VertexDeclaration::VertexDeclaration

Syntax

VertexDeclaration::VertexDeclaration();

Constructs an empty vertex declaration.

Syntax

VertexDeclaration::VertexDeclaration(VertexElement elem);

Deserializes a declaration from a binary file.

Constructs a declaration that has only one element.

Syntax

VertexDeclaration::VertexDeclaration(PrimitiveType primType, PrimitiveIndexType indexType);

Constructs a declaration with the specified primitive & index type.

Leave a Comment

Name:
Comments:
Captcha:captcha image Type in the black symbols:
Back to class index