#include <ecrenderenvironment.h>
Static Public Member Functions | |
static void | Start () |
Start the environment object. | |
static void | Stop () |
Stops the environment object. | |
static YRRenderEnvironment * | GetREObject () |
Provides access to our internal environment Instead of adding functions to delegate into our internal raytracer environment, use this function to call them yourself. |
A wrapper around YR's render environment object.
In Eclipseray, we only need one environment to create all needed materials, lights, integrators, etc.
Although the RenderEnvironment class will provide tools to simplify some tasks, we are not reimplementing YR's interface, so for any special operations, act over our internal render environment object by calling GetREObject.
Render environments own the following objects: Lights, materials, textures, cameras, integrators, backgrounds, and volume tables.
Our RenderEnvironment object is the first to be created, and the last to be destroyed.
Definition at line 57 of file ecrenderenvironment.h.
static YRRenderEnvironment* RenderEnvironment::GetREObject | ( | ) | [inline, static] |
Provides access to our internal environment Instead of adding functions to delegate into our internal raytracer environment, use this function to call them yourself.
Definition at line 89 of file ecrenderenvironment.h.
static void RenderEnvironment::Start | ( | ) | [static] |
Start the environment object.
Call first thing before creating any other objects
static void RenderEnvironment::Stop | ( | ) | [static] |
Stops the environment object.
Call right before exiting the program