Public Member Functions | Protected Member Functions | List of all members
gte::GL4Resource Class Reference

#include <GteGL4Resource.h>

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

Public Member Functions

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 ()
 

Protected Member Functions

 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)
 

Additional Inherited Members

- Protected Attributes inherited from gte::GL4GraphicsObject
GLuint mGLHandle
 
- Protected Attributes inherited from gte::GEObject
GraphicsObjectmGTObject
 
std::string mName
 

Detailed Description

Definition at line 17 of file GteGL4Resource.h.

Constructor & Destructor Documentation

GL4Resource::GL4Resource ( Resource const *  gtResource)
protected

Definition at line 13 of file GteGL4Resource.cpp.

Member Function Documentation

virtual bool gte::GL4Resource::CopyCpuToGpu ( )
inlinevirtual

Reimplemented in gte::GL4Buffer, gte::GL4TextureSingle, and gte::GL4TextureArray.

Definition at line 32 of file GteGL4Resource.h.

virtual bool gte::GL4Resource::CopyGpuToCpu ( )
inlinevirtual
virtual void gte::GL4Resource::CopyGpuToGpu ( GL4Resource target)
inlinevirtual

Definition at line 35 of file GteGL4Resource.h.

Resource * gte::GL4Resource::GetResource ( ) const
inline

Definition at line 46 of file GteGL4Resource.h.

void * GL4Resource::MapForWrite ( GLenum  target)

Definition at line 19 of file GteGL4Resource.cpp.

bool GL4Resource::PreparedForCopy ( GLenum  access) const
protected

Definition at line 34 of file GteGL4Resource.cpp.

void GL4Resource::Unmap ( GLenum  target)

Definition at line 27 of file GteGL4Resource.cpp.

virtual bool gte::GL4Resource::Update ( )
inlinevirtual

Reimplemented in gte::GL4Buffer, gte::GL4TextureSingle, and gte::GL4TextureArray.

Definition at line 31 of file GteGL4Resource.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