PrimitiveFillData

PrimitiveFillData
struct PrimitiveFillData {
  PrimitiveFillType Type;
  Color SolidColor;
  ImageFillMode FillModes[2];
  Ptr<Texture> Textures[2];
  const VertexFormat* pFormat;
};
Description

PrimitiveFillData holds initialization values for PrimitiveFill and is used to create that class. This data is separated so that it can be read-only within a PrimitveFill and to make sure that it isn't accidentally used without PrimitiveFillManager::CreateFill being used, which is required for sharing and proper batch sorting.

Data Members
Data Member 
Description 
The fill mode of the primitive. 
The vertex format applied to the contents within the buffer/applied to the primitive. 
The solid color applied to the primitive. 
Array of textures applied to the primitive. 
Type 
The type of the fill style applied to the primitive. 
Methods
Method 
Description 
Verifies whether format has channels required for the fill. 
Returns the hash value of the primitive fill data. 
Returns the number of textures applied to the primitive fill. 
Returns the number of texture matrices. 
PrimitiveFillData constructor. 
RequiresBlend disables blending when not required. 
Operators
Operator 
Description 
!= 
Determines the inequality of two PrimitiveFillData. 
= 
Assigns the value of the passed PrimitiveFillData to the current one. 
== 
Compares two PrimitiveFillData. 
File

Render_Primitive.h