Assignments Assignments

Public Member Functions | Public Attributes | Static Public Attributes | List of all members
Ray::GlobalSceneData Class Reference

`#include <scene.h>`

## Public Member Functions
| GlobalSceneData (void)
| ~GlobalSceneData (void)

## Public Attributes
Camera | camera
std::vector< Light * > | lights
Shader * | shader

## Static Public Attributes
static std::unordered_map< std::string, Util::BaseFactory< Light > * > | LightFactories

## Detailed Description

Stores the information that is used for rendering of the entire scene

## Constructor & Destructor Documentation

## ◆ GlobalSceneData()

GlobalSceneData::GlobalSceneData | ( | void |  | ) |

The default constructor

## ◆ ~GlobalSceneData()

GlobalSceneData::~GlobalSceneData | ( | void |  | ) |

The destructor

## Member Data Documentation

## ◆ camera

Camera Ray::GlobalSceneData::camera

The camera information

## ◆ LightFactories

unordered_map< string, BaseFactory< Light > * > GlobalSceneData::LightFactories
| static

The set of light factories

## ◆ lights

std::vector< Light * > Ray::GlobalSceneData::lights

The list of lights in the scene

## ◆ shader

Shader* Ray::GlobalSceneData::shader

The shader

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

- Assignments/Ray/scene.h
- Assignments/Ray/scene.cpp