Public Member Functions | Public Attributes
OVR::Render::GL::Buffer Class Reference

#include <Render_GL_Device.h>

Inheritance diagram for OVR::Render::GL::Buffer:
Inheritance graph
[legend]

List of all members.

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
RenderDeviceRen
size_t Size
GLenum Use

Detailed Description

Definition at line 46 of file Render_GL_Device.h.


Constructor & Destructor Documentation

Definition at line 55 of file Render_GL_Device.h.

Reimplemented from OVR::Render::Buffer.

Definition at line 502 of file Render_GL_Device.cpp.


Member Function Documentation

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.

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.


Member Data Documentation

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.

Definition at line 51 of file Render_GL_Device.h.


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


oculus_sdk
Author(s):
autogenerated on Fri Aug 28 2015 11:53:12