ezEngine  Milestone 7
ezGALBufferGL Class Reference
Inheritance diagram for ezGALBufferGL:

Public Member Functions

glBufferId GetGLBufferHandle () const
 Returns OpenGL buffer handle. More...
 
- Public Member Functions inherited from ezGALBuffer
EZ_FORCE_INLINE ezUInt32 GetSize () const
 
- Public Member Functions inherited from ezGALObjectBase< ezGALBufferCreationDescription >
EZ_FORCE_INLINE ezGALObjectBase (const ezGALBufferCreationDescription &Description)
 
EZ_FORCE_INLINE const
ezGALBufferCreationDescription
GetDescription () const
 
- Public Member Functions inherited from ezRefCounted
 ezRefCounted ()
 Constructor.
 
 ezRefCounted (const ezRefCounted &rhs)
 
void operator= (const ezRefCounted &rhs)
 
void AddRef ()
 Increments the reference counter.
 
void ReleaseRef ()
 Decrements the reference counter.
 
bool IsReferenced () const
 Returns true if the reference count is greater than 0, false otherwise.
 
ezInt32 GetRefCount () const
 Returns the current reference count.
 

Protected Member Functions

 ezGALBufferGL (const ezGALBufferCreationDescription &Description)
 
virtual ezResult InitPlatform (ezGALDevice *pDevice, const void *pInitialData) override
 
virtual ezResult DeInitPlatform (ezGALDevice *pDevice) override
 
- Protected Member Functions inherited from ezGALBuffer
 ezGALBuffer (const ezGALBufferCreationDescription &Description)
 

Protected Attributes

glBufferId m_BufferHandle
 Internal OpenGL buffer handle. Either a VertexArray or a VertexBuffer (aka ArrayObject).
 

Friends

class ezGALDeviceGL
 
class ezMemoryUtils
 

Member Function Documentation

glBufferId ezGALBufferGL::GetGLBufferHandle ( ) const
inline

Returns OpenGL buffer handle.

Either a VertexArray or a VertexBuffer (aka ArrayObject).

ezResult ezGALBufferGL::InitPlatform ( ezGALDevice pDevice,
const void *  pInitialData 
)
overrideprotectedvirtual
Todo:
Introduce helper-function that maps resource access to OpenGL usage.

Implements ezGALBuffer.


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