| GL Studio C++ Runtime API

Static Public Member Functions | List of all members
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

## ◆ AddRenderViewChangeListener()

static void AddRenderViewChangeListener | ( | GlsRenderViewChangeListener * | listener | ) |
| inline static

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

Parameters

  listener | the listener to add

## ◆ NotifyRenderViewChanged()

static void NotifyRenderViewChanged | ( | const GlsMatrixType & | modelViewMatrix | ) |
| inline static

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

Parameters

  modelViewMatrix | the matrix of the new view

## ◆ RemoveRenderViewChangeListener()

static void RemoveRenderViewChangeListener | ( | GlsRenderViewChangeListener * | listener | ) |
| inline static

Remove a listener from the notification list for render views changing

Parameters

  listener | the listener to remove

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

- gls_render_view_change_manager.h