RenderBufferGL is the RenderBuffer representation in GPU memory. More...
#include <Luminous/FrameBufferGL.hpp>
Public Member Functions | |
| LUMINOUS_API void | bind () |
| Bind the render buffer. | |
| LUMINOUS_API | RenderBufferGL (StateGL &state) |
| Constructor. More... | |
| LUMINOUS_API | RenderBufferGL (RenderBufferGL &&buffer) |
| Move constructor. More... | |
| LUMINOUS_API void | setStorageFormat (const RenderBuffer &buffer) |
| Set the storage format from the CPU object. More... | |
| LUMINOUS_API void | sync (const RenderBuffer &buffer) |
| Synchronize the settings from the CPU object. More... | |
| LUMINOUS_API void | unbind () |
| Unbind any render buffer. | |
| LUMINOUS_API | ~RenderBufferGL () |
| Destructor. | |
Public Member Functions inherited from Luminous::ResourceHandleGL | |
| bool | expired () const |
| Check if the resource has expired. More... | |
| GLuint | handle () const |
| Get the raw OpenGL handle for the resource. More... | |
| ResourceHandleGL & | operator= (ResourceHandleGL &&r) |
| Move assignment operator. More... | |
| ResourceHandleGL (StateGL &state) | |
| Constructor. More... | |
| ResourceHandleGL (ResourceHandleGL &&r) | |
| Move constructor. More... | |
| void | setExpirationSeconds (unsigned int secs) |
| Set the expiration time in seconds for the resource. More... | |
| void | touch () |
| Update the last used timestamp to current frame-time. More... | |
Additional Inherited Members | |
Protected Attributes inherited from Luminous::ResourceHandleGL | |
| GLuint | m_handle |
| Raw OpenGL handle of the resource. | |
| StateGL & | m_state |
| OpenGL state owned by the graphics driver. | |
RenderBufferGL is the RenderBuffer representation in GPU memory.
| LUMINOUS_API Luminous::RenderBufferGL::RenderBufferGL | ( | StateGL & | state | ) |
Constructor.
| state | OpenGL state |
| LUMINOUS_API Luminous::RenderBufferGL::RenderBufferGL | ( | RenderBufferGL && | buffer | ) |
Move constructor.
| buffer | render buffer to move |
| LUMINOUS_API void Luminous::RenderBufferGL::setStorageFormat | ( | const RenderBuffer & | buffer | ) |
Set the storage format from the CPU object.
| buffer | buffer to get the settings from |
| LUMINOUS_API void Luminous::RenderBufferGL::sync | ( | const RenderBuffer & | buffer | ) |
Synchronize the settings from the CPU object.
| buffer | buffer to synchronize from |