Struct Buffer::RAII_Impl

Nested Relationships

This struct is a nested type of Class Buffer.

Struct Documentation

struct RAII_Impl

Public Functions

RAII_Impl(Buffer::Type t)
~RAII_Impl()
void create()
void destroy()
void bind()
void unbind()
void allocate(const void *data, int byteCount)

Public Members

Buffer::Type type
Buffer::Usage usage = Buffer::Usage::StaticDraw
bool created = false
unsigned int buffer_id = 0
std::thread::id created_from