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

#include <GteGL4Buffer.h>

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

Public Member Functions

virtual bool CopyCpuToGpu ()
 
virtual bool CopyGpuToCpu ()
 
BufferGetBuffer () const
 
GLenum GetType () const
 
GLenum GetUsage () const
 
virtual bool Update ()
 
- 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 ()
 

Protected Member Functions

 GL4Buffer (Buffer const *buffer, GLenum type)
 
virtual void Initialize ()
 
virtual ~GL4Buffer ()
 
- 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

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

Detailed Description

Definition at line 16 of file GteGL4Buffer.h.

Constructor & Destructor Documentation

GL4Buffer::~GL4Buffer ( )
protectedvirtual

Definition at line 13 of file GteGL4Buffer.cpp.

GL4Buffer::GL4Buffer ( Buffer const *  buffer,
GLenum  type 
)
protected

Definition at line 18 of file GteGL4Buffer.cpp.

Member Function Documentation

bool GL4Buffer::CopyCpuToGpu ( )
virtual

Reimplemented from gte::GL4Resource.

Definition at line 93 of file GteGL4Buffer.cpp.

bool GL4Buffer::CopyGpuToCpu ( )
virtual

Reimplemented from gte::GL4Resource.

Reimplemented in gte::GL4StructuredBuffer.

Definition at line 118 of file GteGL4Buffer.cpp.

Buffer * gte::GL4Buffer::GetBuffer ( ) const
inline

Definition at line 44 of file GteGL4Buffer.h.

GLenum gte::GL4Buffer::GetType ( ) const
inline

Definition at line 49 of file GteGL4Buffer.h.

GLenum gte::GL4Buffer::GetUsage ( ) const
inline

Definition at line 54 of file GteGL4Buffer.h.

void GL4Buffer::Initialize ( )
protectedvirtual

Reimplemented in gte::GL4StructuredBuffer.

Definition at line 54 of file GteGL4Buffer.cpp.

bool GL4Buffer::Update ( )
virtual

Reimplemented from gte::GL4Resource.

Definition at line 67 of file GteGL4Buffer.cpp.

Member Data Documentation

GLenum gte::GL4Buffer::mType
protected

Definition at line 40 of file GteGL4Buffer.h.

GLenum gte::GL4Buffer::mUsage
protected

Definition at line 41 of file GteGL4Buffer.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