Photon Engine 2.0.0-beta
A physically based renderer.
Loading...
Searching...
No Matches
ph::TransientVisualElement Class Referencefinal

A group of cooked data that represent the visible part of the scene at a specific time. This data block do not persist throughout the rendering process. After cooking is done, all cooked data should be properly interlinked and TransientVisualElement will be cleaned up. More...

#include <TransientVisualElement.h>

Public Member Functions

void add (const Primitive *primitive)
 
TransientVisualElementadd (const TransientVisualElement &other)
 

Public Attributes

std::vector< const Intersectable * > intersectables
 
std::vector< const Emitter * > emitters
 
std::vector< const Primitive * > primitivesView
 Represent the same shape as intersectables. Will be provided if obtaining such representation incurs no significant overhead (e.g., is a byproduct during the build of intersectables). Otherwise, this view may not be available. This view will cover all the shapes defined by intersectables if provided.
 

Detailed Description

A group of cooked data that represent the visible part of the scene at a specific time. This data block do not persist throughout the rendering process. After cooking is done, all cooked data should be properly interlinked and TransientVisualElement will be cleaned up.

Member Function Documentation

◆ add() [1/2]

void ph::TransientVisualElement::add ( const Primitive * primitive)

◆ add() [2/2]

TransientVisualElement & ph::TransientVisualElement::add ( const TransientVisualElement & other)

Member Data Documentation

◆ emitters

std::vector<const Emitter*> ph::TransientVisualElement::emitters

◆ intersectables

std::vector<const Intersectable*> ph::TransientVisualElement::intersectables

◆ primitivesView

std::vector<const Primitive*> ph::TransientVisualElement::primitivesView

Represent the same shape as intersectables. Will be provided if obtaining such representation incurs no significant overhead (e.g., is a byproduct during the build of intersectables). Otherwise, this view may not be available. This view will cover all the shapes defined by intersectables if provided.


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