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

#include <GteGL4ConstantBuffer.h>

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

Public Member Functions

void AttachToUnit (GLint uniformBufferUnit)
 
ConstantBufferGetConstantBuffer () const
 
 GL4ConstantBuffer (ConstantBuffer const *cbuffer)
 
- Public Member Functions inherited from gte::GL4Buffer
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 ()
 

Static Public Member Functions

static std::shared_ptr< GEObjectCreate (void *unused, GraphicsObject const *object)
 

Additional Inherited Members

- Protected Member Functions inherited from gte::GL4Buffer
 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 inherited from gte::GL4Buffer
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 GteGL4ConstantBuffer.h.

Constructor & Destructor Documentation

GL4ConstantBuffer::GL4ConstantBuffer ( ConstantBuffer const *  cbuffer)

Definition at line 13 of file GteGL4ConstantBuffer.cpp.

Member Function Documentation

void GL4ConstantBuffer::AttachToUnit ( GLint  uniformBufferUnit)

Definition at line 32 of file GteGL4ConstantBuffer.cpp.

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

Definition at line 20 of file GteGL4ConstantBuffer.cpp.

ConstantBuffer * gte::GL4ConstantBuffer::GetConstantBuffer ( ) const
inline

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