#include <Render_GL_Device.h>
Public Member Functions | |
Buffer (RenderDevice *r) | |
virtual bool | Data (int use, const void *buffer, size_t size) |
GLuint | GetBuffer () |
virtual size_t | GetSize () |
virtual void * | Map (size_t start, size_t size, int flags=0) |
virtual bool | Unmap (void *m) |
~Buffer () | |
Public Attributes | |
GLuint | GLBuffer |
RenderDevice * | Ren |
size_t | Size |
GLenum | Use |
Definition at line 46 of file Render_GL_Device.h.
OVR::Render::GL::Buffer::Buffer | ( | RenderDevice * | r | ) | [inline] |
Definition at line 55 of file Render_GL_Device.h.
OVR::Render::GL::Buffer::~Buffer | ( | ) | [virtual] |
Reimplemented from OVR::Render::Buffer.
Definition at line 502 of file Render_GL_Device.cpp.
bool OVR::Render::GL::Buffer::Data | ( | int | use, |
const void * | buffer, | ||
size_t | size | ||
) | [virtual] |
Implements OVR::Render::Buffer.
Definition at line 508 of file Render_GL_Device.cpp.
GLuint OVR::Render::GL::Buffer::GetBuffer | ( | ) | [inline] |
Definition at line 58 of file Render_GL_Device.h.
virtual size_t OVR::Render::GL::Buffer::GetSize | ( | ) | [inline, virtual] |
Implements OVR::Render::Buffer.
Definition at line 60 of file Render_GL_Device.h.
void * OVR::Render::GL::Buffer::Map | ( | size_t | start, |
size_t | size, | ||
int | flags = 0 |
||
) | [virtual] |
Implements OVR::Render::Buffer.
Definition at line 529 of file Render_GL_Device.cpp.
bool OVR::Render::GL::Buffer::Unmap | ( | void * | m | ) | [virtual] |
Implements OVR::Render::Buffer.
Definition at line 541 of file Render_GL_Device.cpp.
Definition at line 52 of file Render_GL_Device.h.
Definition at line 49 of file Render_GL_Device.h.
Definition at line 50 of file Render_GL_Device.h.
GLenum OVR::Render::GL::Buffer::Use |
Definition at line 51 of file Render_GL_Device.h.