|
Vulkan Schnee 0.0.1
High-performance rendering engine
|
LOD configuration for GPU shader selection. Updated per-frame with camera and screen information. 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 |
| Pad to 48 bytes (std140 alignment) | |
LOD configuration for GPU shader selection. Updated per-frame with camera and screen information.
Layout matches GLSL std140 LodConfig uniform (48 bytes).
Definition at line 497 of file RenderData.h.
| glm::vec2 EngineCore::LodConfigUBO::_padding |
Pad to 48 bytes (std140 alignment)
Definition at line 505 of file RenderData.h.
| float EngineCore::LodConfigUBO::cameraNear |
Positive near plane distance.
Definition at line 501 of file RenderData.h.
| glm::vec4 EngineCore::LodConfigUBO::cameraPosition |
World-space camera position.
Definition at line 503 of file RenderData.h.
| float EngineCore::LodConfigUBO::cameraProj11 |
projection[1][1] = cot(fov/2)
Definition at line 500 of file RenderData.h.
| uint32_t EngineCore::LodConfigUBO::ditherEnabled |
1 = dither transitions, 0 = hard cut
Definition at line 502 of file RenderData.h.
| float EngineCore::LodConfigUBO::errorThresholdPixels |
Target pixel error (default 1.0)
Definition at line 499 of file RenderData.h.
| glm::vec2 EngineCore::LodConfigUBO::screenSize |
Render target dimensions.
Definition at line 504 of file RenderData.h.