raisin::InstancedVisuals::FoliageImpostorDiagnostics
struct · #include <rayrai/Visuals.hpp>
Internal (diagnostics): last foliage-impostor decision.
Public attributes
enabled
cpp
bool enabledThe policy is enabled.
applicable
cpp
bool applicableThe batch qualified for the path in the last pass.
used
cpp
bool usedThe path was used in the last pass.
authoredInstanceCount
cpp
size_t authoredInstanceCountInstances in the batch.
renderedInstanceCount
cpp
size_t renderedInstanceCountInstances after the setMaxRenderedInstances() cap; per-instance foliage draws report the instances they submit, before any occlusion test done on the GPU.
candidateInstanceCount
cpp
size_t candidateInstanceCountInstances left after the active stride.
sourceTrianglesPerInstance
cpp
size_t sourceTrianglesPerInstanceTriangles per instance of the source mesh.
impostorTrianglesPerInstance
cpp
size_t impostorTrianglesPerInstanceTriangles per instance of the impostor.
nearestDistance
cpp
float nearestDistanceDistance from the camera to the batch bounds (m).
projectedRadiusPixels
cpp
float projectedRadiusPixelsProjected source-mesh radius in pixels.
fallbackCode
cpp
uint32_t fallbackCode0, or why the path was skipped (text via the matching last...ReasonForDiagnostics()).