PrimitiveFill* CreateMergedFill(unsigned mergeFlags, const VertexFormat* vformat, const FillData* fd0, const FillData* fd1, Ptr<Image>* gradientImg0, Ptr<Image>* gradientImg1, TextureManager* mng, float morphRatio);
CreateMergedFill creates a complex merged fill built out of one or more regular fills.
Parameters |
Description |
unsigned mergeFlags |
Flag bit for fill style merge. |
const VertexFormat* vformat |
The vertex format of the elements in the primitive. |
const FillData* fd0 |
Pointer to one of the regular fills for the primitive. |
const FillData* fd1 |
Pointer to a regular fill for the primitive. |
Ptr<Image>* gradientImg0 |
A gradient image used for the primitive. |
Ptr<Image>* gradientImg1 |
Another gradient image used for the primitive. |
TextureManager* mng |
The texture manager for managing the texture primitives. |
float morphRatio |
Morph ratio for gradient morphing (shape tween with changing gradients). |
Pointer to the merged PrimitiveFill.