Public Member Functions

  • void
    update (const Surface &surface, int depth, int mipLevel=0)
  • void
    update (const void *data, GLenum dataFormat, GLenum dataType, int mipLevel, int width, int height, int depth, int xOffset=0, int yOffset=0, int zOffset=0)
  • void
    setCompareMode (GLenum compareMode)
  • void
    setCompareFunc (GLenum compareFunc)

Static Public Member Functions


Protected Member Functions

  • Texture3d (GLint width, GLint height, GLint depth, Format format)
  • Texture3d (const void *data, GLenum dataFormat, int width, int height, int depth, Format format)
  • void
    printDims (std::ostream &os) const override
  • void
    initParams (Format &format, GLint defaultInternalFormat, GLint defaultDataType)

Protected Attributes

  • GLint
    mWidth
  • GLint
    mHeight
  • GLint
    mDepth
  • GLenum
    mTarget
  • GLuint
    mTextureId
  • GLint
    mInternalFormat
  • bool
    mMipmapping
  • GLint
    mBaseMipmapLevel
  • GLint
    mMaxMipmapLevel
  • bool
    mDoNotDispose
  • std::array< GLint, 4 >
    mSwizzleMask
  • std::string
    mLabel