enum PrimitiveFillFlags { FF_Multiply = 0x01, FF_Invert = 0x02, FF_AlphaWrite = 0x04, FF_Cxform = 0x08, FF_3DProjection = 0x10, FF_Blending = 0x20, FF_DepthMaskClr = 0x40, FF_BlendMask = FF_Multiply|FF_Invert };
Modifier flags applied to PrimitiveFill (which affect the shaders).
Members |
Description |
FF_Multiply = 0x01 |
Multiply blend mode applied (requires different color output). |
FF_Invert = 0x02 |
Invert blend mode applied (requires different color output). |
FF_AlphaWrite = 0x04 |
The alpha channel should be written to. |
FF_Cxform = 0x08 |
The fill requires a color transform. |
FF_3DProjection = 0x10 |
The fill is for a 3D object. |
FF_Blending = 0x20 |
Blending operations need to be performed for the fill. |
FF_DepthMaskClr = 0x40 |
The primitive is a mask clear to the depth target (requires different vertex shader). |
FF_BlendMask = FF_Multiply|FF_Invert |
Bitmask, which covers the fillflags associated with different blend modes. |
Render_Primitive.h