raisin::TransparentDrawDebugView
struct · #include <rayrai/RenderDiagnostics.hpp>
Transparent-pass state and draw order for a camera (RayraiWindow::transparentDrawDebugView()). Diagnostic only.
The boolean/float settings echo the matching RenderQualitySettings fields (clamped). Overdraw is estimated on a screen tile grid from the projected item bounds.
Public attributes
sortTransparentInstances
bool sortTransparentInstancesRenderQualitySettings::sortTransparentInstances.
weightedBlendedOit
bool weightedBlendedOitRenderQualitySettings::weightedBlendedOit.
weightedBlendedOitAvailable
bool weightedBlendedOitAvailableWeighted blended OIT requested and MSAA is off.
transparentDepthPrepass
bool transparentDepthPrepassRenderQualitySettings::transparentDepthPrepass.
transparentShadowDithering
bool transparentShadowDitheringRenderQualitySettings::transparentShadowDithering.
transparentShadowOpacityScale
float transparentShadowOpacityScaleRenderQualitySettings::transparentShadowOpacityScale.
screenSpaceRefraction
bool screenSpaceRefractionRenderQualitySettings::screenSpaceRefraction.
screenSpaceRefractionAvailable
bool screenSpaceRefractionAvailableScreen-space refraction requested and highFidelityPbr is on.
screenSpaceRefractionStrength
float screenSpaceRefractionStrengthRenderQualitySettings::screenSpaceRefractionStrength.
screenSpaceRefractionMaxPixels
float screenSpaceRefractionMaxPixelsRenderQualitySettings::screenSpaceRefractionMaxPixels.
transparentFogAlphaWeighted
bool transparentFogAlphaWeightedRenderQualitySettings::transparentFogAlphaWeighted.
transparentFogStrength
float transparentFogStrengthRenderQualitySettings::transparentFogStrength.
alphaToCoverage
bool alphaToCoverageRenderQualitySettings::alphaToCoverage.
depthWrite
bool depthWriteTransparent draws do not write depth.
depthTest
bool depthTestTransparent draws depth-test against the opaque scene.
overdrawTileSize
int overdrawTileSizeOverdraw tile edge, pixels.
overdrawTileColumns
int overdrawTileColumnsTile grid columns.
overdrawTileRows
int overdrawTileRowsTile grid rows.
overdrawCoveredTileCount
size_t overdrawCoveredTileCountTiles covered by at least one transparent item.
overdrawHotTileCount
size_t overdrawHotTileCountTiles with 3 or more estimated layers.
maxEstimatedOverdraw
int maxEstimatedOverdrawLargest per-tile layer count.
averageEstimatedOverdraw
float averageEstimatedOverdrawMean layer count over covered tiles.
overdrawTileCounts
std::vector<int> overdrawTileCountsLayer count per tile, row-major, row 0 at the bottom of the image.
worldTransparentCount
size_t worldTransparentCountTransparent RaiSim world objects.
visualTransparentCount
size_t visualTransparentCountTransparent custom visuals.
instancedTransparentCount
size_t instancedTransparentCountTransparent instanced visuals.
totalTransparentCount
size_t totalTransparentCountSum of the three counts.
backToFrontOrder
std::vector<TransparentDrawItem> backToFrontOrderDraw order: by renderPriority, then farthest first (capped at maxItems; 0 = all).