TextureData /

#includecinder/gl/Texture.h

Public Member Functions

  • TextureData ()
  • getWidth () const
  • setWidth (GLint width)
  • getHeight () const
  • setHeight (GLint height)
  • getDepth () const
  • setDepth (GLint depth)
  • getNumFaces () const
  • setNumFaces (GLint numFaces)
  • bool
    isCompressed () const
  • getInternalFormat () const
  • setInternalFormat (GLint internalFormat)
  • getDataFormat () const
  • setDataFormat (GLenum dataFormat)
  • getDataType () const
  • setDataType (GLenum dataType)
  • getUnpackAlignment () const
  • setUnpackAlignment (GLint unpackAlignment)
  • const std::array< GLint, 4 > &
    getSwizzleMask () const
  • setSwizzleMask (const std::array< GLint, 4 > &swizzleMask)
  • size_t
    getNumLevels () const
  • const std::vector< Level > &
    getLevels () const
  • std::vector< Level > &
    getLevels ()
  • back ()
  • push_back (const Level &level)
  • clear ()
  • allocateDataStore (size_t requireBytes)
  • size_t
    getDataStoreSize () const
  • getDataStorePtr (size_t offset) const
  • mapDataStore ()
  • unmapDataStore ()