Public Member Functions

  • setCompareMode (GLenum compareMode)
  • setCompareFunc (GLenum compareFunc)

Static Public Member Functions


Protected Member Functions

  • Texture2d (int width, int height, Format format=Format())
  • Texture2d (const void *data, GLenum dataFormat, int width, int height, Format format=Format())
  • Texture2d (const Surface8u &surface, Format format=Format())
  • Texture2d (const Surface16u &surface, Format format=Format())
  • Texture2d (const Surface32f &surface, Format format=Format())
  • Texture2d (const Channel8u &channel, Format format=Format())
  • Texture2d (const Channel16u &channel, Format format=Format())
  • Texture2d (const Channel32f &channel, Format format=Format())
  • Texture2d (const ImageSourceRef &imageSource, Format format=Format())
  • Texture2d (GLenum target, GLuint textureId, int width, int height, bool doNotDispose)
  • Texture2d (const TextureData &data, Format format)
  • printDims (std::ostream &os) const override
  • initParams (Format &format, GLint defaultInternalFormat, GLint defaultDataType)
  • initMaxMipmapLevel ()
  • setData (const SurfaceT< T > &surface, bool createStorage, int mipLevel, const ivec2 &offset)
  • setData (const ChannelT< T > &channel, bool createStorage, int mipLevel, const ivec2 &offset)
  • initData (const void *data, GLenum dataFormat, const Format &format)
  • initData (const ImageSourceRef &imageSource, const Format &format)
  • initDataImageSourceWithPboImpl (const ImageSourceRef &imageSource, const Format &format, GLint dataFormat, GLint dataType, ImageIo::ChannelOrder channelOrder, bool isGray, const PboRef &pbo)
  • initDataImageSourceImpl (const ImageSourceRef &imageSource, const Format &format, GLint dataFormat, GLint dataType, ImageIo::ChannelOrder channelOrder, bool isGray)
  • initParams (Format &format, GLint defaultInternalFormat, GLint defaultDataType)

Protected Attributes

  • ivec2
    mActualSize
  • mCleanBounds
  • bool
    mTopDown
  • mTarget
  • mTextureId
  • mInternalFormat
  • bool
    mMipmapping
  • mBaseMipmapLevel
  • mMaxMipmapLevel
  • bool
    mDoNotDispose
  • std::array< GLint, 4 >
    mSwizzleMask
  • mLabel

Friends