FPLBase
An open source project by
FPL.
|
Contains helper functions for interacting with rendering aspects of using a Head Mounted Display device, such as Cardboard. More...
#include "fplbase/config.h"
#include "fplbase/input.h"
#include "fplbase/renderer.h"
#include "mathfu/glsl_mappings.h"
Go to the source code of this file.
Contains helper functions for interacting with rendering aspects of using a Head Mounted Display device, such as Cardboard.
Classes | |
struct | fplbase::HeadMountedDisplayViewSettings |
Dimensions and transforms for viewport when using stereoscopic rendering. More... | |
Namespaces | |
fplbase | |
Namespace for FPLBase library. | |
Functions | |
void | fplbase::InitializeUndistortFramebuffer (int width, int height) |
Initializes the framebuffer needed for Head Mounted Display undistortion. More... | |
void | fplbase::BeginUndistortFramebuffer () |
Called before rendering for HMD to set up the framebuffer. | |
void | fplbase::FinishUndistortFramebuffer () |
Called when finished with rendering for HMD, to undistort and render the result. | |
void | fplbase::SetCardboardButtonEnabled (bool enabled) |
Called to set whether the Cardboard settings button (gear icon) is enabled and rendering. More... | |