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

#include <GteGL4IndexBuffer.h>

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

Public Member Functions

void Disable ()
 
void Enable ()
 
IndexBufferGetIndexBuffer () const
 
 GL4IndexBuffer (IndexBuffer const *ibuffer)
 
- 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 GteGL4IndexBuffer.h.

Constructor & Destructor Documentation

GL4IndexBuffer::GL4IndexBuffer ( IndexBuffer const *  ibuffer)

Definition at line 13 of file GteGL4IndexBuffer.cpp.

Member Function Documentation

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

Definition at line 20 of file GteGL4IndexBuffer.cpp.

void GL4IndexBuffer::Disable ( )

Definition at line 37 of file GteGL4IndexBuffer.cpp.

void GL4IndexBuffer::Enable ( )

Definition at line 32 of file GteGL4IndexBuffer.cpp.

IndexBuffer * gte::GL4IndexBuffer::GetIndexBuffer ( ) const
inline

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