raisin::Visuals::FrameCacheMaterialState
struct · #include <rayrai/Visuals.hpp>
Summarize static frame-cache material state in one mesh traversal.
Internal: used by the renderer's frame cache.
Public attributes
cacheable
cpp
bool cacheableFalse (other fields default) when a material override, remap or overlay is set.
hasTextures
cpp
bool hasTexturesSome submesh has OpenGLMesh::textures.
hasPbrMeshes
cpp
bool hasPbrMeshesSome submesh uses PBR shading.
transparent
cpp
bool transparentVisual alpha/transparency/self fade, or a submesh needs the transparent pass.
specialBlendMode
cpp
bool specialBlendModeSome submesh blend mode is not Material::BlendMode::Mix.
renderPriority
cpp
int renderPriorityHighest submesh render priority.
sortKeys
cpp
MaterialSortKeys sortKeysSort keys (simpleOnly equals all here).