qxLib
Public Member Functions | List of all members
qx::IBuffer Class Referenceabstract

OpenGL buffer interface. More...

#include <ibuffer.h>

Inheritance diagram for qx::IBuffer:
qx::base_fbo qx::base_rbo qx::base_texture qx::base_vao qx::buffer_base qx::base_ebo qx::base_vbo qx::buffer_binding_point_base qx::base_ssbo qx::base_ubo

Public Member Functions

virtual void Generate ()=0
 Generate buffer object.
 
virtual void Bind () const =0
 Bind a named buffer object.
 
virtual void Unbind () const =0
 Unbind a named buffer object.
 
virtual GLuint GetBufferName () const =0
 Get the object's name - the reference to the object. More...
 
virtual bool IsGenerated () const =0
 Is this buffer generated. More...
 

Detailed Description

OpenGL buffer interface.

~

Author
Khrapov
Date
22.01.2020

Definition at line 25 of file ibuffer.h.

Member Function Documentation

◆ GetBufferName()

virtual GLuint qx::IBuffer::GetBufferName ( ) const
pure virtual

Get the object's name - the reference to the object.

Return values
-the object's name

◆ IsGenerated()

virtual bool qx::IBuffer::IsGenerated ( ) const
pure virtual

Is this buffer generated.

Return values
-true is generated

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