GL Studio C++ Runtime API
FrameBufferUtility Class Reference

#include <frame_buffer_utility.h>

Static Public Member Functions

static bool frameBuffersAreSupported ()
 
static bool checkFrameBufferStatus ()
 

Detailed Description

The FrameBufferUtility class. A platform independent way of determining if frame buffer objects are supported.

Member Function Documentation

◆ checkFrameBufferStatus()

static bool checkFrameBufferStatus ( )
static

Check the completeness status of the GL_FRAMEBUFFER.

Returns
true if the status of the GL_FRAMEBUFFER is GL_FRAMEBUFFER_COMPLETE.

◆ frameBuffersAreSupported()

static bool frameBuffersAreSupported ( )
static

Determine if the hardware supports Frame buffers.
If it does, then the Frame buffer API is lazily instantiated

Returns
True if frame buffers are supported

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