struct SSF_GlobalDrawParams { enum EFillType { None, SolidColor, Texture, GlyphTexture, GlyphAlphaTexture, GlyphTextureYUV, GlyphTextureYUVA, GColor, G1Texture, G1TextureColor, G2Texture, G2TextureColor, G3Texture, GlyphTextureMat, GlyphTextureMatMul }; EFillType fillType; enum EVertexFmt { Vertex_None, Vertex_XY16i, Vertex_XY16iC32, Vertex_XY16iCF32, Vertex_Glyph }; EVertexFmt vertexFmt; const void* pVertexPtr; uint32 numVertices; enum EIndexFmt { Index_None, Index_16 }; EIndexFmt indexFmt; const void* pIndexPtr; uint32 numIndices; const Matrix44* pTransMat; enum ETexState { TS_Clamp = 0x01, TS_FilterLin = 0x02, TS_FilterTriLin = 0x04 }; struct STextureInfo { int texID; uint32 texState; Matrix34 texGenMat; }; STextureInfo texture[2]; int texID_YUVA[4]; Vec2 texGenYUVAStereo; ColorF colTransform1st; ColorF colTransform2nd; ColorF colTransformMat[4]; uint32 blendModeStates; uint32 renderMaskedStates; bool isMultiplyDarkBlendMode; bool premultipliedAlpha; enum EAlphaBlendOp { Add, Substract, RevSubstract, Min, Max }; EAlphaBlendOp blendOp; enum EBlurType { BlurNone = 0, start_shadows, Box2InnerShadow = 1, Box2InnerShadowHighlight, Box2InnerShadowMul, Box2InnerShadowMulHighlight, Box2InnerShadowKnockout, Box2InnerShadowHighlightKnockout, Box2InnerShadowMulKnockout, Box2InnerShadowMulHighlightKnockout, Box2Shadow, Box2ShadowHighlight, Box2ShadowMul, Box2ShadowMulHighlight, Box2ShadowKnockout, Box2ShadowHighlightKnockout, Box2ShadowMulKnockout, Box2ShadowMulHighlightKnockout, Box2Shadowonly, Box2ShadowonlyHighlight, Box2ShadowonlyMul, Box2ShadowonlyMulHighlight, end_shadows = 20, start_blurs, Box1Blur = 21, Box2Blur, Box1BlurMul, Box2BlurMul, end_blurs = 24, BlurCount, shadows_Highlight = 0x00000001, shadows_Mul = 0x00000002, shadows_Knockout = 0x00000004, blurs_Box2 = 0x00000001, blurs_Mul = 0x00000002 }; struct BlurFilterParams { EBlurType blurType; Vec4 blurFilterSize; Vec2 blurFilterScale; Vec2 blurFilterOffset; ColorF blurFilterColor1; ColorF blurFilterColor2; }; BlurFilterParams blurParams; };
IRenderer.h
IRenderer.h
enum EAlphaBlendOp { Add, Substract, RevSubstract, Min, Max };
IRenderer.h
enum EBlurType { BlurNone = 0, start_shadows, Box2InnerShadow = 1, Box2InnerShadowHighlight, Box2InnerShadowMul, Box2InnerShadowMulHighlight, Box2InnerShadowKnockout, Box2InnerShadowHighlightKnockout, Box2InnerShadowMulKnockout, Box2InnerShadowMulHighlightKnockout, Box2Shadow, Box2ShadowHighlight, Box2ShadowMul, Box2ShadowMulHighlight, Box2ShadowKnockout, Box2ShadowHighlightKnockout, Box2ShadowMulKnockout, Box2ShadowMulHighlightKnockout, Box2Shadowonly, Box2ShadowonlyHighlight, Box2ShadowonlyMul, Box2ShadowonlyMulHighlight, end_shadows = 20, start_blurs, Box1Blur = 21, Box2Blur, Box1BlurMul, Box2BlurMul, end_blurs = 24, BlurCount, shadows_Highlight = 0x00000001, shadows_Mul = 0x00000002, shadows_Knockout = 0x00000004, blurs_Box2 = 0x00000001, blurs_Mul = 0x00000002 };
IRenderer.h
Members |
Description |
BlurCount |
start_cmatrix, CMatrix = 25, CMatrixMul, end_cmatrix = 26, |
enum EFillType { None, SolidColor, Texture, GlyphTexture, GlyphAlphaTexture, GlyphTextureYUV, GlyphTextureYUVA, GColor, G1Texture, G1TextureColor, G2Texture, G2TextureColor, G3Texture, GlyphTextureMat, GlyphTextureMatMul };
IRenderer.h
enum EIndexFmt { Index_None, Index_16 };
IRenderer.h
enum ETexState { TS_Clamp = 0x01, TS_FilterLin = 0x02, TS_FilterTriLin = 0x04 };
IRenderer.h
enum EVertexFmt { Vertex_None, Vertex_XY16i, Vertex_XY16iC32, Vertex_XY16iCF32, Vertex_Glyph };
IRenderer.h
struct STextureInfo { int texID; uint32 texState; Matrix34 texGenMat; };
IRenderer.h
uint32 blendModeStates;
EAlphaBlendOp blendOp;
BlurFilterParams blurParams;
ColorF colTransform1st;
ColorF colTransform2nd;
ColorF colTransformMat[4];
EFillType fillType;
EIndexFmt indexFmt;
bool isMultiplyDarkBlendMode;
uint32 numIndices;
uint32 numVertices;
const void* pIndexPtr;
bool premultipliedAlpha;
const Matrix44* pTransMat;
const void* pVertexPtr;
uint32 renderMaskedStates;
Vec2 texGenYUVAStereo;
int texID_YUVA[4];
STextureInfo texture[2];
EVertexFmt vertexFmt;
void Reset();
SSF_GlobalDrawParams();