Public Member Functions | Static Public Member Functions | List of all members
gte::GL4TextureRT Class Reference

#include <GteGL4TextureRT.h>

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

Public Member Functions

virtual bool CanAutoGenerateMipmaps () const override
 
TextureRTGetTexture () const
 
 GL4TextureRT (TextureRT const *texture)
 
- Public Member Functions inherited from gte::GL4Texture2
Texture2GetTexture () const
 
 GL4Texture2 (Texture2 const *texture)
 
virtual ~GL4Texture2 ()
 
- Public Member Functions inherited from gte::GL4TextureSingle
virtual bool CopyCpuToGpu () override
 
bool CopyCpuToGpu (unsigned int level)
 
virtual bool CopyGpuToCpu () override
 
bool CopyGpuToCpu (unsigned int level)
 
void CopyGpuToGpu (GL4TextureSingle *texture, unsigned int level)
 
virtual bool GenerateMipmaps ()
 
TextureSingleGetTexture () const
 
virtual bool Update () override
 
bool Update (unsigned int level)
 
virtual ~GL4TextureSingle ()
 
- Public Member Functions inherited from gte::GL4Texture
GLenum GetTarget () const
 
GLenum GetTargetBinding () const
 
TextureGetTexture () const
 
- Public Member Functions inherited from gte::GL4Resource
virtual void CopyGpuToGpu (GL4Resource *target)
 
ResourceGetResource () const
 
voidMapForWrite (GLenum target)
 
void Unmap (GLenum target)
 
- 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 std::shared_ptr< GEObjectCreate (void *unused, GraphicsObject const *object)
 
- Static Public Member Functions inherited from gte::GL4Texture2
static std::shared_ptr< GEObjectCreate (void *unused, GraphicsObject const *object)
 
- Static Public Member Functions inherited from gte::GL4Texture
static GLuint GetInternalFormat (DFType dataFormat)
 

Additional Inherited Members

- Protected Member Functions inherited from gte::GL4Texture2
virtual void LoadTextureLevel (unsigned int level, void const *data) override
 
- Protected Member Functions inherited from gte::GL4TextureSingle
void CreateStaging ()
 
bool DoCopyCpuToGpu (unsigned int level)
 
 GL4TextureSingle (TextureSingle const *gtTexture, GLenum target, GLenum targetBinding)
 
void Initialize ()
 
- Protected Member Functions inherited from gte::GL4Texture
 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 inherited from gte::GL4Texture
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 inherited from gte::GL4Texture
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 GteGL4TextureRT.h.

Constructor & Destructor Documentation

GL4TextureRT::GL4TextureRT ( TextureRT const *  texture)

Definition at line 13 of file GteGL4TextureRT.cpp.

Member Function Documentation

bool GL4TextureRT::CanAutoGenerateMipmaps ( ) const
overridevirtual

Reimplemented from gte::GL4Texture2.

Definition at line 31 of file GteGL4TextureRT.cpp.

std::shared_ptr< GEObject > GL4TextureRT::Create ( void unused,
GraphicsObject const *  object 
)
static

Definition at line 19 of file GteGL4TextureRT.cpp.

TextureRT * gte::GL4TextureRT::GetTexture ( ) const
inline

Definition at line 30 of file GteGL4TextureRT.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