cinderglTexture2d

Format /

#includecinder/gl/Texture.h

Public Member Functions

  • mipmap (bool enableMipmapping=true)
  • wrap (GLenum wrap)
  • wrapS (GLenum wrapS)
  • wrapT (GLenum wrapT)
  • wrapR (GLenum wrapR)
  • minFilter (GLenum minFilter)
  • magFilter (GLenum magFilter)
  • compareMode (GLenum compareMode)
  • swizzleMask (const std::array< GLint, 4 > &swizzleMask)
  • swizzleMask (GLint r, GLint g, GLint b, GLint a)
  • intermediatePbo (const PboRef &intermediatePbo)
  • void
    setCompareMode (GLenum compareMode)
  • void
    setCompareFunc (GLenum compareFunc)

Protected Attributes

  • bool
    mLoadTopDown
  • std::function< void(Texture2d *)>
    mDeleter
  • friend
    Texture2d
  • GLenum
    mTarget
  • GLenum
    mWrapS
  • GLenum
    mWrapT
  • GLenum
    mWrapR
  • GLenum
    mMinFilter
  • GLenum
    mMagFilter
  • GLint
    mCompareMode
  • GLint
    mCompareFunc
  • bool
    mMipmapping
  • bool
    mMipmappingSpecified
  • bool
    mMinFilterSpecified
  • GLuint
    mBaseMipmapLevel
  • GLint
    mMaxMipmapLevel
  • bool
    mImmutableStorage
  • GLfloat
    mMaxAnisotropy
  • GLint
    mInternalFormat
  • GLint
    mDataType
  • bool
    mSwizzleSpecified
  • std::array< GLint, 4 >
    mSwizzleMask
  • bool
    mBorderSpecified
  • std::array< GLfloat, 4 >
    mBorderColor
  • std::string
    mLabel
  • bool
    mPerGpuStorageSpecifiedNV
  • bool
    mPerGpuStorageEnabledNV
  • mIntermediatePbo