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
  • void
    loadInto (Target *target, const AttribSet &requestedAttribs) const override
  • clone () const override

Protected Member Functions

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

Protected Attributes

  • std::array< vec2, 4 >
    mPositions
  • std::array< vec2, 4 >
    mTexCoords
  • std::array< ColorAf, 4 >
    mColors
  • bool
    mHasColors