|
Foundation
|
#include <Editor/Runtime/GPUScene.hpp>#include <RenderCore/ImmediateContext.hpp>#include <Renderer/Renderer.hpp>#include <Renderer/Rasterizer.hpp>#include <Renderer/ProgressivePathtracer.hpp>#include <algorithm>#include <argh.h>#include <cctype>#include <cmath>#include <cstdio>#include <thread>#include "Examples.hpp"Functions | |
| String | PrepareScenePayload (RHIApplication const &app, JobSystem *jobs, StringView path) |
| float | ApertureRadiusFromFStop (float fStop, float sensorHeight, float fovY) |
| void | ApplySceneCamera (FImportedScene const &scene, RendererUBO &ubo, FExampleOrbitCamera &camera) |
| ResourceHandle | RebuildGraph (ExampleVulkanContext &ctx, RendererUBO &ubo, GPUScene &gpu, RendererConfig &cfg, RendererOutputs &outputs, ExampleInputState &input, ExampleRenderer renderer, bool headless, float scaling=1.0f) |
| int | main (int argc, char **argv) |
Variables | |
| static constexpr const char * | kTempScenePath = "Cache/GPUSceneGLTF.fscn" |
| float ApertureRadiusFromFStop | ( | float | fStop, |
| float | sensorHeight, | ||
| float | fovY | ||
| ) |
| void ApplySceneCamera | ( | FImportedScene const & | scene, |
| RendererUBO & | ubo, | ||
| FExampleOrbitCamera & | camera | ||
| ) |
| int main | ( | int | argc, |
| char ** | argv | ||
| ) |
| String PrepareScenePayload | ( | RHIApplication const & | app, |
| JobSystem * | jobs, | ||
| StringView | path | ||
| ) |
| ResourceHandle RebuildGraph | ( | ExampleVulkanContext & | ctx, |
| RendererUBO & | ubo, | ||
| GPUScene & | gpu, | ||
| RendererConfig & | cfg, | ||
| RendererOutputs & | outputs, | ||
| ExampleInputState & | input, | ||
| ExampleRenderer | renderer, | ||
| bool | headless, | ||
| float | scaling = 1.0f |
||
| ) |
|
staticconstexpr |