QVR 4.1.0
A library to build Virtual Reality applications
Loading...
Searching...
No Matches
outputplugin.hpp File Reference

Functions

bool QVROutputPluginInit (QVRWindow *window, const QStringList &args)
 Initialize an output plugin.
 
void QVROutputPluginExit (QVRWindow *window)
 Cleanup an output plugin.
 
void QVROutputPlugin (QVRWindow *window, const QVRRenderContext &context, const unsigned int *textures)
 Output the rendered frame.
 

Function Documentation

◆ QVROutputPlugin()

void QVROutputPlugin ( QVRWindow * window,
const QVRRenderContext & context,
const unsigned int * textures )

Output the rendered frame.

Parameters
windowThe window that provides the frame
contextThe render context of the frame
texturesThe textures containing the views

This is the main function of an output plugin. It takes the rendered views from the textures and displays them on the output device, applying arbitrary postprocessing. The context provides all information available about the views.

See also QVROutputPluginInit() and QVROutputPluginExit().

◆ QVROutputPluginExit()

void QVROutputPluginExit ( QVRWindow * window)

Cleanup an output plugin.

Parameters
windowThe window that provides the output

See also QVROutputPluginInit() and QVROutputPlugin().

◆ QVROutputPluginInit()

bool QVROutputPluginInit ( QVRWindow * window,
const QStringList & args )

Initialize an output plugin.

Parameters
windowThe window that provides the output
argsPlugin argument list from the configuration file

See also QVROutputPluginExit() and QVROutputPlugin().