SSF_GlobalDrawParams

C++
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;
};
File

IRenderer.h

SSF_GlobalDrawParams::BlurFilterParams Structure
C++
struct BlurFilterParams {
  EBlurType blurType;
  Vec4 blurFilterSize;
  Vec2 blurFilterScale;
  Vec2 blurFilterOffset;
  ColorF blurFilterColor1;
  ColorF blurFilterColor2;
};
File

IRenderer.h

SSF_GlobalDrawParams::EAlphaBlendOp Enumeration
C++
enum EAlphaBlendOp {
  Add,
  Substract,
  RevSubstract,
  Min,
  Max
};
File

IRenderer.h

SSF_GlobalDrawParams::EBlurType Enumeration
C++
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
};
File

IRenderer.h

Members
Members
Description
BlurCount
start_cmatrix, CMatrix = 25, CMatrixMul, end_cmatrix = 26,
SSF_GlobalDrawParams::EFillType Enumeration
C++
enum EFillType {
  None,
  SolidColor,
  Texture,
  GlyphTexture,
  GlyphAlphaTexture,
  GlyphTextureYUV,
  GlyphTextureYUVA,
  GColor,
  G1Texture,
  G1TextureColor,
  G2Texture,
  G2TextureColor,
  G3Texture,
  GlyphTextureMat,
  GlyphTextureMatMul
};
File

IRenderer.h

SSF_GlobalDrawParams::EIndexFmt Enumeration
C++
enum EIndexFmt {
  Index_None,
  Index_16
};
File

IRenderer.h

SSF_GlobalDrawParams::ETexState Enumeration
C++
enum ETexState {
  TS_Clamp = 0x01,
  TS_FilterLin = 0x02,
  TS_FilterTriLin = 0x04
};
File

IRenderer.h

SSF_GlobalDrawParams::EVertexFmt Enumeration
C++
enum EVertexFmt {
  Vertex_None,
  Vertex_XY16i,
  Vertex_XY16iC32,
  Vertex_XY16iCF32,
  Vertex_Glyph
};
File

IRenderer.h

SSF_GlobalDrawParams::STextureInfo Structure
C++
struct STextureInfo {
  int texID;
  uint32 texState;
  Matrix34 texGenMat;
};
File

IRenderer.h

SSF_GlobalDrawParams::blendModeStates Data Member
C++
uint32 blendModeStates;
SSF_GlobalDrawParams::blendOp Data Member
C++
EAlphaBlendOp blendOp;
SSF_GlobalDrawParams::blurParams Data Member
C++
BlurFilterParams blurParams;
SSF_GlobalDrawParams::colTransform1st Data Member
C++
ColorF colTransform1st;
SSF_GlobalDrawParams::colTransform2nd Data Member
C++
ColorF colTransform2nd;
SSF_GlobalDrawParams::colTransformMat Data Member
C++
ColorF colTransformMat[4];
SSF_GlobalDrawParams::fillType Data Member
C++
EFillType fillType;
SSF_GlobalDrawParams::indexFmt Data Member
C++
EIndexFmt indexFmt;
SSF_GlobalDrawParams::isMultiplyDarkBlendMode Data Member
C++
bool isMultiplyDarkBlendMode;
SSF_GlobalDrawParams::numIndices Data Member
C++
uint32 numIndices;
SSF_GlobalDrawParams::numVertices Data Member
C++
uint32 numVertices;
SSF_GlobalDrawParams::pIndexPtr Data Member
C++
const void* pIndexPtr;
SSF_GlobalDrawParams::premultipliedAlpha Data Member
C++
bool premultipliedAlpha;
SSF_GlobalDrawParams::pTransMat Data Member
C++
const Matrix44* pTransMat;
SSF_GlobalDrawParams::pVertexPtr Data Member
C++
const void* pVertexPtr;
SSF_GlobalDrawParams::renderMaskedStates Data Member
C++
uint32 renderMaskedStates;
SSF_GlobalDrawParams::texGenYUVAStereo Data Member
C++
Vec2 texGenYUVAStereo;
SSF_GlobalDrawParams::texID_YUVA Data Member
C++
int texID_YUVA[4];
SSF_GlobalDrawParams::texture Data Member
C++
STextureInfo texture[2];
SSF_GlobalDrawParams::vertexFmt Data Member
C++
EVertexFmt vertexFmt;
SSF_GlobalDrawParams::Reset Method
C++
void Reset();
SSF_GlobalDrawParams::SSF_GlobalDrawParams Constructor
C++
SSF_GlobalDrawParams();