IVertexFormat
Description
- Derived from
- Extended by
-
VertexFormatBase abstract
Base interface for classes that convert vertex data stored in a one or more IVertexArray containers to GPU vertex data.
A IVertexFormat always uses the byte endianness of the system when writing multi-byte values (e.g. float32
, int32
).
- See also
Public / Methods
WriteVertices
Writes vertex data to the current vertex buffer.
If indices opt is null
, a vertex is written for each value in the number sequence [first..first+count[.
If indices opt is not null
, a vertex is written for each value that has been read from indices opt, using number sequence [first..first+count[ as array element indices.
This method calls WriteVertexPrepare, where necessary.