AnimEngine
Public Member Functions | Protected Member Functions | Static Protected Member Functions | Protected Attributes | List of all members
OOOGL::Texture Class Reference
Inheritance diagram for OOOGL::Texture:
Inheritance graph
[legend]
Collaboration diagram for OOOGL::Texture:
Collaboration graph
[legend]

Public Member Functions

virtual AttachmentType getAttachmentType () const override
 
virtual void copyParametersFrom (const Texture &other)
 
const GLuint getXdim () const
 
const GLuint getYdim () const
 
const GLuint getZdim () const
 
const GLenum * getTextureExtensionMode () const
 
const GLenum getDepthStencilMode () const
 
const GLenum getMinFilter () const
 
const GLenum getMagFilter () const
 
const GLenum getFormat () const
 
const GLenum getInternalFormat () const
 
const GLenum getType () const
 
void setTextureExtensionMode (GLenum mode)
 
void setTextureExtensionModeTuple (const GLenum *tuple)
 
void setTextureExtensionMode (GLenum wrapS, GLenum wrapT, GLenum wrapR)
 
void setDepthStencilMode (GLenum mode)
 
void setMinFilter (GLenum filter)
 
void setMagFilter (GLenum filter)
 
- Public Member Functions inherited from OOOGL::FramebufferAttachable
 FramebufferAttachable (OglObjectDestroyer destroyer)
 
- Public Member Functions inherited from OOOGL::OglObject
 OglObject (OglObjectDestroyer destroyer)
 
- Public Member Functions inherited from OOOGL::PersistentOglName
 PersistentOglName (OglObjectDestroyer destroyer)
 
 PersistentOglName (GLuint id, OglObjectDestroyer destroyer)
 
GLuint * getIdPtr ()
 
const GLuint * getIdPtr () const
 
virtual GLuint getName () const override
 
GLuint getNameDirect () const
 
virtual bool isPossessible () const override
 
virtual void makeZombie ()
 
virtual bool isZombie () const
 
- Public Member Functions inherited from OOOGL::OglNameInterface
 operator GLuint () const
 

Protected Member Functions

 Texture (const PersistentOglName &zombie)
 
virtual void initParams ()
 
- Protected Member Functions inherited from OOOGL::FramebufferAttachable
 FramebufferAttachable (const PersistentOglName &zombie)
 
- Protected Member Functions inherited from OOOGL::OglObject
 OglObject (const PersistentOglName &zombie)
 

Static Protected Member Functions

static void _destroyGLTexture (const GLuint *self)
 

Protected Attributes

GLint x = 0
 
GLint y = 0
 
GLint z = 0
 
GLenum internal_format = 0
 
GLenum texture_format = 0
 
GLenum texture_type = 0
 
GLenum texture_extension_mode [3] = { GL_REPEAT, GL_REPEAT, GL_REPEAT }
 
GLenum depth_stencil_mode = GL_DEPTH_COMPONENT
 
GLenum min_filter = GL_LINEAR
 
GLenum mag_filter = GL_LINEAR
 

Additional Inherited Members

- Public Types inherited from OOOGL::FramebufferAttachable
enum  AttachmentType : GLenum { ATTACHMENT_TEXTURE = GL_TEXTURE_2D, ATTACHMENT_3DTEXTURE = GL_TEXTURE_3D, ATTACHMENT_RENDERBUFFER = GL_RENDERBUFFER, ATTACHMENT_ERROR }
 

The documentation for this class was generated from the following files: