Public Member Functions

  • Rect (const Rectf &r)
  • rect (const Rectf &r)
  • size_t
    getNumVertices () const override
  • size_t
    getNumIndices () const override
  • getPrimitive () const override
  • uint8_t
    getAttribDims (Attrib attr) const override
  • getAvailableAttribs () const override
  • loadInto (Target *target, const AttribSet &requestedAttribs) const override
  • clone () const override

Protected Member Functions

  • setDefaultColors ()
  • setDefaultTexCoords ()
  • forceCopyIndicesTrianglesImpl (T *dest) const

Protected Attributes

  • std::array< vec2, 4 >
    mPositions
  • std::array< vec2, 4 >
    mTexCoords
  • std::array< ColorAf, 4 >
    mColors
  • bool
    mHasColors
  • const float
    sNormals [4 *3]
  • const float
    sTangents [4 *3]