GL Studio C++ Runtime API
GlsRenderViewChangeListener Class Referenceabstract

#include <gls_render_view_change_manager.h>

Public Member Functions

virtual void OnViewChanged (const GlsMatrixType &modelViewMatrix)=0
 

Protected Member Functions

virtual ~GlsRenderViewChangeListener ()
 

Detailed Description

Interface for listeners that need to perform specific actions once per frame for each "camera" rendering a view.

Constructor & Destructor Documentation

◆ ~GlsRenderViewChangeListener()

virtual ~GlsRenderViewChangeListener ( )
inlineprotectedvirtual

Protected destructor – no polymorphic deletion

Member Function Documentation

◆ OnViewChanged()

virtual void OnViewChanged ( const GlsMatrixType modelViewMatrix)
pure virtual

Called whenever a new view has been applied to OpenGL.

Parameters
modelViewMatrixthe matrix of the new view

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