raisin::MaterialTextureBudgetRecommendation
struct · #include <rayrai/RenderDiagnostics.hpp>
Texture-memory fallback suggestion (RayraiWindow::recommendMaterialTextureBudget()). Never applied automatically and never unloads textures.
When over budget it suggests anisotropy <= 4, texture mip bias >= 0.75, environment mip bias >= 0.5 and disabling reflection-probe filtering.
Public attributes
materialTextureReferences
size_t materialTextureReferencesMaterial texture references across all drawables (with repeats).
uniqueMaterialTextures
size_t uniqueMaterialTexturesDistinct GL textures among them.
materialTextureBytes
size_t materialTextureBytesEstimated GPU bytes of the distinct textures.
budgetBytes
size_t budgetBytesBudget used; default 128/256/512 MiB for Fast/Balanced/High, 1 GiB otherwise.
overBudget
bool overBudgetmaterialTextureBytes > budgetBytes.
changed
bool changedrecommendedSettings differs from the current settings.
recommendedTextureAnisotropy
float recommendedTextureAnisotropySuggested RenderQualitySettings::textureAnisotropy.
recommendedTextureMipLodBias
float recommendedTextureMipLodBiasSuggested RenderQualitySettings::textureMipLodBias.
recommendedPbrEnvironmentMipLodBias
float recommendedPbrEnvironmentMipLodBiasSuggested RenderQualitySettings::pbrEnvironmentMipLodBias.
recommendedReflectionProbeFilteringEnabled
bool recommendedReflectionProbeFilteringEnabledSuggested RenderQualitySettings::reflectionProbeFilteringEnabled.
recommendedSettings
RenderQualitySettings recommendedSettingsCurrent settings with the suggestions applied.
reason
std::string reason','-joined decision tags, or "within_material_texture_budget" / "over_budget_no_safe_change".