|
Vulkan Schnee 0.0.1 (22840dc8)
High-performance rendering engine
|
LOD configuration UBO for GPU shader selection. More...
#include <RenderData.h>
Public Attributes | |
| float | errorThresholdPixels |
| Target pixel error (default 1.0) | |
| float | cameraProj11 |
| projection[1][1] = cot(fov/2) | |
| float | cameraNear |
| Positive near plane distance. | |
| uint32_t | ditherEnabled |
| 1 = dither transitions, 0 = hard cut | |
| glm::vec4 | cameraPosition |
| World-space camera position. | |
| glm::vec2 | screenSize |
| Render target dimensions. | |
| glm::vec2 | _padding |
| Padding required by the shader layout. | |
LOD configuration UBO for GPU shader selection.
Layout matches GLSL std140 LodConfig and is 48 bytes.
Definition at line 548 of file RenderData.h.
| glm::vec2 Engine::Rendering::GpuBuffers::LodConfigUBO::_padding |
Padding required by the shader layout.
Definition at line 556 of file RenderData.h.
| float Engine::Rendering::GpuBuffers::LodConfigUBO::cameraNear |
Positive near plane distance.
Definition at line 552 of file RenderData.h.
| glm::vec4 Engine::Rendering::GpuBuffers::LodConfigUBO::cameraPosition |
World-space camera position.
Definition at line 554 of file RenderData.h.
| float Engine::Rendering::GpuBuffers::LodConfigUBO::cameraProj11 |
projection[1][1] = cot(fov/2)
Definition at line 551 of file RenderData.h.
| uint32_t Engine::Rendering::GpuBuffers::LodConfigUBO::ditherEnabled |
1 = dither transitions, 0 = hard cut
Definition at line 553 of file RenderData.h.
| float Engine::Rendering::GpuBuffers::LodConfigUBO::errorThresholdPixels |
Target pixel error (default 1.0)
Definition at line 550 of file RenderData.h.
| glm::vec2 Engine::Rendering::GpuBuffers::LodConfigUBO::screenSize |
Render target dimensions.
Definition at line 555 of file RenderData.h.