Path tracer demo configuration. Parameters for offline rendering.
More...
|
|
glm::ivec2 | size = glm::ivec2(1024) |
| | Image size.
|
| |
|
size_t | samples = 8 |
| | Number of samples per pixel, should be a power of two.
|
| |
|
size_t | depth = 5 |
| | Max depth of a path.
|
| |
|
std::string | outputPath = "" |
| | Output image path.
|
| |
|
std::string | scene = "" |
| | Scene name.
|
| |
|
bool | directRender = false |
| | Disable the GUI and run a render immediatly.
|
| |
|
const size_t | version = 1 |
| | The configuration version number (unused).
|
| |
|
bool | vsync = true |
| | Toggle V-Sync.
|
| |
|
int | rate = 60 |
| | Prefered framerate.
|
| |
|
bool | fullscreen = false |
| | Toggle fullscreen window.
|
| |
|
unsigned int | initialWidth = 1000 |
| | Initial width of the window in relative pixels.
|
| |
|
unsigned int | initialHeight = 750 |
| | Initial height of the window in relative pixels.
|
| |
| int | internalVerticalResolution = 720 |
| | Internal vertical rendering resolution. More...
|
| |
|
bool | forceAspectRatio = false |
| | Should the aspect ratio of the window be constrained.
|
| |
|
glm::vec2 | screenResolution = glm::vec2(800.0f, 600.0f) |
| | Size of the window in raw pixels, updated at launch based on screen density.
|
| |
|
glm::ivec4 | windowFrame = glm::vec4(0, 0, 800, 600) |
| | The last recorded window position and size on screen.
|
| |
|
std::string | resourcesPath |
| | Extra resources directory.
|
| |
|
bool | trackDebug = true |
| | Should resource tracking and monitoring be enabled.
|
| |
|
| const std::vector< KeyValues > & | arguments () const |
| |
| void | registerSection (const std::string &name) |
| |
| void | registerArgument (const std::string &longName, const std::string &shortName, const std::string &details, const std::vector< std::string > ¶ms={}) |
| |
| void | registerArgument (const std::string &longName, const std::string &shortName, const std::string &details, const std::string ¶m) |
| |
Path tracer demo configuration. Parameters for offline rendering.
Inherits RenderingConfig.
◆ PathTracerConfig()
| PathTracerConfig::PathTracerConfig |
( |
const std::vector< std::string > & |
argv | ) |
|
|
inlineexplicit |
Initialize a new rendering config object, parsing the input arguments and filling the attributes with their values.
- Parameters
-
| argv | the raw input arguments |
The documentation for this class was generated from the following file:
- src/apps/pathtracer/main.cpp