Public Member Functions

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

Static Public Member Functions

  • create (GLint width, const Format &format=Format())

Protected Member Functions

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

Protected Attributes

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