MeshProvider::GetFillCount

MeshProvider::GetFillCount
virtual unsigned GetFillCount(unsigned layer, unsigned meshGenFlags) const;
Description

GetFillCount returns the logical number of fills a shape has, which also serves to determine whether the shape is a simple or a complex shape. Simple shapes have FillCount <= 1, whereas complex shapes have more. FillCount and FillData should not change after the MeshProvider is created. The number of fills may be affected by MeshGenFlags; a mask, for example, typically only needs one fill.

Parameters
Parameters 
Description 
unsigned layer 
The number of layers for the shape. 
unsigned meshGenFlags 
The flag indicating the type of mesh generated. 
Return Value

A value containing the number of fills.