GL Studio C++ Runtime API
GlsRenderViewChangeManager Class Reference

#include <gls_render_view_change_manager.h>

Static Public Member Functions

static void AddRenderViewChangeListener (GlsRenderViewChangeListener *listener)
 
static void RemoveRenderViewChangeListener (GlsRenderViewChangeListener *listener)
 
static void NotifyRenderViewChanged (const GlsMatrixType &modelViewMatrix)
 

Detailed Description

Singleton to keep a list of all listeners for changes in the render view.

Member Function Documentation

static void AddRenderViewChangeListener ( GlsRenderViewChangeListener listener)
inlinestatic

Add a listener to the notification list for render views changing Note: Does not take ownership of the listener

Parameters
listenerthe listener to add
static void NotifyRenderViewChanged ( const GlsMatrixType modelViewMatrix)
inlinestatic

Notify all listeners that a new view has been applied to OpenGL

Parameters
modelViewMatrixthe matrix of the new view
static void RemoveRenderViewChangeListener ( GlsRenderViewChangeListener listener)
inlinestatic

Remove a listener from the notification list for render views changing

Parameters
listenerthe listener to remove

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