|
Photon Engine 2.0.0-beta
A physically based renderer.
|
Specifying and querying policies for tracing view path. More...
#include <ViewPathTracingPolicy.h>
Public Member Functions | |
| ViewPathTracingPolicy () | |
| ViewPathTracingPolicy & | kill () |
| Kills the path. | |
| ViewPathTracingPolicy & | useRussianRoulette (bool useRR) |
| Use russian roulette to kill the path. | |
| ViewPathTracingPolicy & | traceSinglePathFor (SurfaceElemental elemental) |
Effectively as specifying EViewPathSampleMode::SinglePath. | |
| ViewPathTracingPolicy & | traceBranchedPathFor (SurfacePhenomena phenomena) |
Effectively as specifying EViewPathSampleMode::ElementalBranch. | |
| bool | isKilled () const |
| bool | useRussianRoulette () const |
| EViewPathSampleMode | getSampleMode () const |
| SurfacePhenomena | getTargetPhenomena () const |
| SurfaceElemental | getTargetElemental () const |
Specifying and querying policies for tracing view path.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Kills the path.
|
inline |
Effectively as specifying EViewPathSampleMode::ElementalBranch.
| phenomena | The target phenomena for tracing. Path will not be traced if the elemental's phenomenon is not one of the targets. |
|
inline |
Effectively as specifying EViewPathSampleMode::SinglePath.
| elemental | The desired elemental for tracing the path. |
|
inline |
|
inline |
Use russian roulette to kill the path.