RobWorkProject  24.5.15-
Static Public Member Functions | Static Public Attributes | List of all members
RWGLFrameBuffer Class Reference

Class for off-screen GL rendering. More...

#include <RWGLFrameBuffer.hpp>

Static Public Member Functions

static bool initialize ()
 Try to initialize frame buffers. More...
 
static void test (rw::core::LogWriter &log)
 Print some information about the frame buffers to the log. More...
 
static bool hasFrameBuffers ()
 Check if frame buffers are available. More...
 
static bool isFrameBuffersInitialized ()
 Check if frame buffers has been initialized. More...
 
static bool testFrameBufferCompleteness ()
 Check for framebuffer completeness. Only use the framebuffer if this succeeds. More...
 

Static Public Attributes

static PFNGLGENFRAMEBUFFERSEXTPROC glGenFramebuffersEXT
 Please refer to OpenGL documentation on framebuffers.
 
static PFNGLDELETEFRAMEBUFFERSEXTPROC glDeleteFramebuffersEXT
 Please refer to OpenGL documentation on framebuffers. More...
 
static PFNGLBINDFRAMEBUFFEREXTPROC glBindFramebufferEXT
 Please refer to OpenGL documentation on framebuffers. More...
 
static PFNGLCHECKFRAMEBUFFERSTATUSEXTPROC glCheckFramebufferStatusEXT
 Please refer to OpenGL documentation on framebuffers. More...
 
static PFNGLGETFRAMEBUFFERATTACHMENTPARAMETERIVEXTPROC glGetFramebufferAttachmentParameterivEXT
 Please refer to OpenGL documentation on framebuffers. More...
 
static PFNGLGENERATEMIPMAPEXTPROC glGenerateMipmapEXT
 Please refer to OpenGL documentation on framebuffers. More...
 
static PFNGLFRAMEBUFFERTEXTURE2DEXTPROC glFramebufferTexture2DEXT
 Please refer to OpenGL documentation on framebuffers. More...
 
static PFNGLFRAMEBUFFERRENDERBUFFEREXTPROC glFramebufferRenderbufferEXT
 Please refer to OpenGL documentation on framebuffers. More...
 
static PFNGLBLITFRAMEBUFFEREXTPROC glBlitFrameBufferEXT
 Please refer to OpenGL documentation on framebuffers. More...
 
static PFNGLGENRENDERBUFFERSEXTPROC glGenRenderbuffersEXT
 Please refer to OpenGL documentation on framebuffers. More...
 
static PFNGLDELETERENDERBUFFERSEXTPROC glDeleteRenderbuffersEXT
 Please refer to OpenGL documentation on framebuffers. More...
 
static PFNGLBINDRENDERBUFFEREXTPROC glBindRenderbufferEXT
 Please refer to OpenGL documentation on framebuffers. More...
 
static PFNGLRENDERBUFFERSTORAGEEXTPROC glRenderbufferStorageEXT
 Please refer to OpenGL documentation on framebuffers. More...
 
static PFNGLGETRENDERBUFFERPARAMETERIVEXTPROC glGetRenderbufferParameterivEXT
 Please refer to OpenGL documentation on framebuffers. More...
 
static PFNGLISRENDERBUFFEREXTPROC glIsRenderbufferEXT
 Please refer to OpenGL documentation on framebuffers. More...
 
static PFNGLRENDERBUFFERSTORAGEMULTISAMPLEEXTPROC glRenderbufferStorageMultisampleEXT
 Please refer to OpenGL documentation on framebuffers. More...
 
static PFNGLTEXIMAGE2DMULTISAMPLEPROC glTexImage2DMultisample
 Please refer to OpenGL documentation on framebuffers. More...
 

Detailed Description

Class for off-screen GL rendering.

This class provides platform-independent names for GL functions related to framebuffers.

The user MUST call initialize() before using any static members of this class.

Member Function Documentation

◆ hasFrameBuffers()

static bool hasFrameBuffers ( )
static

Check if frame buffers are available.

This function will always return false, if initialize() has not been called.

Returns
true if frame buffers are available, false otherwise.

◆ initialize()

static bool initialize ( )
static

Try to initialize frame buffers.

Returns
true if initialization succeeded.

◆ isFrameBuffersInitialized()

static bool isFrameBuffersInitialized ( )
static

Check if frame buffers has been initialized.

Returns
true if initialized, false otherwise.

◆ test()

static void test ( rw::core::LogWriter log)
static

Print some information about the frame buffers to the log.

Parameters
log[in/out] the log to write to.

◆ testFrameBufferCompleteness()

static bool testFrameBufferCompleteness ( )
static

Check for framebuffer completeness. Only use the framebuffer if this succeeds.

Returns
true if framebuffer is complete.

Member Data Documentation

◆ glBindFramebufferEXT

PFNGLBINDFRAMEBUFFEREXTPROC glBindFramebufferEXT
static

Please refer to OpenGL documentation on framebuffers.

◆ glBindRenderbufferEXT

PFNGLBINDRENDERBUFFEREXTPROC glBindRenderbufferEXT
static

Please refer to OpenGL documentation on framebuffers.

◆ glBlitFrameBufferEXT

PFNGLBLITFRAMEBUFFEREXTPROC glBlitFrameBufferEXT
static

Please refer to OpenGL documentation on framebuffers.

◆ glCheckFramebufferStatusEXT

PFNGLCHECKFRAMEBUFFERSTATUSEXTPROC glCheckFramebufferStatusEXT
static

Please refer to OpenGL documentation on framebuffers.

◆ glDeleteFramebuffersEXT

PFNGLDELETEFRAMEBUFFERSEXTPROC glDeleteFramebuffersEXT
static

Please refer to OpenGL documentation on framebuffers.

◆ glDeleteRenderbuffersEXT

PFNGLDELETERENDERBUFFERSEXTPROC glDeleteRenderbuffersEXT
static

Please refer to OpenGL documentation on framebuffers.

◆ glFramebufferRenderbufferEXT

PFNGLFRAMEBUFFERRENDERBUFFEREXTPROC glFramebufferRenderbufferEXT
static

Please refer to OpenGL documentation on framebuffers.

◆ glFramebufferTexture2DEXT

PFNGLFRAMEBUFFERTEXTURE2DEXTPROC glFramebufferTexture2DEXT
static

Please refer to OpenGL documentation on framebuffers.

◆ glGenerateMipmapEXT

PFNGLGENERATEMIPMAPEXTPROC glGenerateMipmapEXT
static

Please refer to OpenGL documentation on framebuffers.

◆ glGenRenderbuffersEXT

PFNGLGENRENDERBUFFERSEXTPROC glGenRenderbuffersEXT
static

Please refer to OpenGL documentation on framebuffers.

◆ glGetFramebufferAttachmentParameterivEXT

PFNGLGETFRAMEBUFFERATTACHMENTPARAMETERIVEXTPROC glGetFramebufferAttachmentParameterivEXT
static

Please refer to OpenGL documentation on framebuffers.

◆ glGetRenderbufferParameterivEXT

PFNGLGETRENDERBUFFERPARAMETERIVEXTPROC glGetRenderbufferParameterivEXT
static

Please refer to OpenGL documentation on framebuffers.

◆ glIsRenderbufferEXT

PFNGLISRENDERBUFFEREXTPROC glIsRenderbufferEXT
static

Please refer to OpenGL documentation on framebuffers.

◆ glRenderbufferStorageEXT

PFNGLRENDERBUFFERSTORAGEEXTPROC glRenderbufferStorageEXT
static

Please refer to OpenGL documentation on framebuffers.

◆ glRenderbufferStorageMultisampleEXT

PFNGLRENDERBUFFERSTORAGEMULTISAMPLEEXTPROC glRenderbufferStorageMultisampleEXT
static

Please refer to OpenGL documentation on framebuffers.

◆ glTexImage2DMultisample

PFNGLTEXIMAGE2DMULTISAMPLEPROC glTexImage2DMultisample
static

Please refer to OpenGL documentation on framebuffers.


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