void MapVertexFormat(PrimitiveFillType fill, const VertexFormat* sourceFormat, const VertexFormat** single, const VertexFormat** batch, const VertexFormat** instanced);
MapVertexFormat obtains formats that the renderer will use for single, batched and instanced rendering of the specified source format.
Parameters |
Description |
PrimitiveFillType fill |
The rendering fill style used. |
const VertexFormat* sourceFormat |
The source format of the meshes. |
const VertexFormat** single |
The destination format for the single rendering of the vertices. This pointer may be same as the sourceFormat. |
const VertexFormat** batch |
Destination format for the batched rendering of the vertices. If 'batch' format is reported as 0, batching will be disabled. |
const VertexFormat** instanced |
Destination format for the instanced rendering of the vertices. This may be reported as 0 in which case instancing is not supported for format. |