YourGameLib
Loading...
Searching...
No Matches
Public Member Functions | Static Public Member Functions | List of all members
yourgame::gl::Buffer Class Reference

#include <buffer.h>

Public Member Functions

 ~Buffer ()
 
void bind ()
 
void unbindTarget ()
 
bool bufferData (GLsizeiptr size, const GLvoid *data)
 
 Buffer (Buffer const &)=delete
 
Bufferoperator= (Buffer const &)=delete
 

Static Public Member Functions

static Buffermake (GLenum target, GLsizeiptr size, const GLvoid *data, GLenum usage)
 

Constructor & Destructor Documentation

◆ ~Buffer()

yourgame::gl::Buffer::~Buffer ( )

◆ Buffer()

yourgame::gl::Buffer::Buffer ( Buffer const &  )
delete

Member Function Documentation

◆ bind()

void yourgame::gl::Buffer::bind ( )

◆ bufferData()

bool yourgame::gl::Buffer::bufferData ( GLsizeiptr  size,
const GLvoid *  data 
)

◆ make()

Buffer * yourgame::gl::Buffer::make ( GLenum  target,
GLsizeiptr  size,
const GLvoid *  data,
GLenum  usage 
)
static

◆ operator=()

Buffer & yourgame::gl::Buffer::operator= ( Buffer const &  )
delete

◆ unbindTarget()

void yourgame::gl::Buffer::unbindTarget ( )

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