|
Vulkan Schnee 0.0.1
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 |
LOD configuration UBO for GPU shader selection.
Layout matches GLSL std140 LodConfig uniform (48 bytes).
Definition at line 472 of file RenderData.h.
| glm::vec2 Engine::Rendering::GpuBuffers::LodConfigUBO::_padding |
Definition at line 480 of file RenderData.h.
| float Engine::Rendering::GpuBuffers::LodConfigUBO::cameraNear |
Positive near plane distance.
Definition at line 476 of file RenderData.h.
| glm::vec4 Engine::Rendering::GpuBuffers::LodConfigUBO::cameraPosition |
World-space camera position.
Definition at line 478 of file RenderData.h.
| float Engine::Rendering::GpuBuffers::LodConfigUBO::cameraProj11 |
projection[1][1] = cot(fov/2)
Definition at line 475 of file RenderData.h.
| uint32_t Engine::Rendering::GpuBuffers::LodConfigUBO::ditherEnabled |
1 = dither transitions, 0 = hard cut
Definition at line 477 of file RenderData.h.
| float Engine::Rendering::GpuBuffers::LodConfigUBO::errorThresholdPixels |
Target pixel error (default 1.0)
Definition at line 474 of file RenderData.h.
| glm::vec2 Engine::Rendering::GpuBuffers::LodConfigUBO::screenSize |
Render target dimensions.
Definition at line 479 of file RenderData.h.