PrimitiveFillData::CheckVertexFormat

PrimitiveFillData::CheckVertexFormat
static bool CheckVertexFormat(PrimitiveFillType fill, const VertexFormat* format);
Description

CheckVertexFormat verifies whether format has channels required for the fill. Will return false and output debug messages if there is a mismatch.

Parameters
Parameters 
Description 
PrimitiveFillType fill 
The fill style of the primitive. 
const VertexFormat* format 
The format of the vertex .. 
Return Value

Returns false and outputs debug messages if there is a mismatch.