Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | Static Protected Attributes | List of all members
gte::GL4Texture Class Reference

#include <GteGL4Texture.h>

Inheritance diagram for gte::GL4Texture:
Inheritance graph
[legend]

Public Member Functions

GLenum GetTarget () const
 
GLenum GetTargetBinding () const
 
TextureGetTexture () const
 
- Public Member Functions inherited from gte::GL4Resource
virtual bool CopyCpuToGpu ()
 
virtual bool CopyGpuToCpu ()
 
virtual void CopyGpuToGpu (GL4Resource *target)
 
ResourceGetResource () const
 
voidMapForWrite (GLenum target)
 
void Unmap (GLenum target)
 
virtual bool Update ()
 
- Public Member Functions inherited from gte::GL4GraphicsObject
GLuint GetGLHandle () const
 
virtual void SetName (std::string const &name) override
 
- Public Member Functions inherited from gte::GEObject
GraphicsObjectGetGraphicsObject () const
 
std::string const & GetName () const
 
virtual ~GEObject ()
 

Static Public Member Functions

static GLuint GetInternalFormat (DFType dataFormat)
 

Protected Member Functions

 GL4Texture (Texture const *texture, GLenum target, GLenum targetBinding)
 
- Protected Member Functions inherited from gte::GL4Resource
 GL4Resource (Resource const *gtResource)
 
bool PreparedForCopy (GLenum access) const
 
- Protected Member Functions inherited from gte::GL4GraphicsObject
 GL4GraphicsObject (GraphicsObject const *gtObject)
 
- Protected Member Functions inherited from gte::GEObject
 GEObject (GraphicsObject const *gtObject)
 

Protected Attributes

GLuint mExternalFormat
 
GLuint mExternalType
 
GLuint mInternalFormat
 
GLint mNumLevels
 
GLenum mTarget
 
GLenum mTargetBinding
 
- Protected Attributes inherited from gte::GL4GraphicsObject
GLuint mGLHandle
 
- Protected Attributes inherited from gte::GEObject
GraphicsObjectmGTObject
 
std::string mName
 

Static Protected Attributes

static GLuint const msGLTextureExternalFormat [DF_NUM_FORMATS]
 
static GLuint const msGLTextureExternalType [DF_NUM_CHANNEL_TYPES]
 
static GLuint const msGLTextureInternalFormat [DF_NUM_FORMATS]
 

Detailed Description

Definition at line 16 of file GteGL4Texture.h.

Constructor & Destructor Documentation

GL4Texture::GL4Texture ( Texture const *  texture,
GLenum  target,
GLenum  targetBinding 
)
protected

Definition at line 12 of file GteGL4Texture.cpp.

Member Function Documentation

GLuint gte::GL4Texture::GetInternalFormat ( DFType  dataFormat)
inlinestatic

Definition at line 47 of file GteGL4Texture.h.

GLenum gte::GL4Texture::GetTarget ( ) const
inline

Definition at line 57 of file GteGL4Texture.h.

GLenum gte::GL4Texture::GetTargetBinding ( ) const
inline

Definition at line 62 of file GteGL4Texture.h.

Texture * gte::GL4Texture::GetTexture ( ) const
inline

Definition at line 52 of file GteGL4Texture.h.

Member Data Documentation

GLuint gte::GL4Texture::mExternalFormat
protected

Definition at line 38 of file GteGL4Texture.h.

GLuint gte::GL4Texture::mExternalType
protected

Definition at line 39 of file GteGL4Texture.h.

GLuint gte::GL4Texture::mInternalFormat
protected

Definition at line 37 of file GteGL4Texture.h.

GLint gte::GL4Texture::mNumLevels
protected

Definition at line 36 of file GteGL4Texture.h.

GLuint const GL4Texture::msGLTextureExternalFormat
staticprotected

Definition at line 43 of file GteGL4Texture.h.

GLuint const GL4Texture::msGLTextureExternalType
staticprotected
GLuint const GL4Texture::msGLTextureInternalFormat
staticprotected

Definition at line 42 of file GteGL4Texture.h.

GLenum gte::GL4Texture::mTarget
protected

Definition at line 32 of file GteGL4Texture.h.

GLenum gte::GL4Texture::mTargetBinding
protected

Definition at line 33 of file GteGL4Texture.h.


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


geometric_tools_engine
Author(s): Yijiang Huang
autogenerated on Thu Jul 18 2019 04:00:06