Open 3D Engine Atom Gem API Reference 23.10.0
O3DE is an open-source, fully-featured, high-fidelity, modular 3D engine for building games and simulations, available to every industry.
AZ::RPI::Cullable Struct Reference

Classes

struct  CullData
 
struct  LodConfiguration
 
struct  LodData
 

Public Types

enum  LodType : uint8_t { Default = 0 , ScreenCoverage , SpecificLod }
 
using LodOverride = uint8_t
 
using FlagType = uint32_t
 

Public Member Functions

void SetDebugName (const AZ::Name &debugName)
 
const AZ::Name GetDebugName () const
 

Public Attributes

CullData m_cullData
 
LodData m_lodData
 
FlagType m_prevShaderOptionFlags = 0
 
AZStd::atomic< FlagType > m_shaderOptionFlags = 0
 
FlagType m_flags
 
bool m_isVisible = false
 
bool m_isHidden = false
 

Member Data Documentation

◆ m_isHidden

bool AZ::RPI::Cullable::m_isHidden = false

Flag indicating if the object is hidden, i.e., was specifically marked as something that shouldn't be rendered, regardless of its actual position relative to the camera

◆ m_isVisible

bool AZ::RPI::Cullable::m_isVisible = false

Flag indicating if the object is visible in any view, meaning it passed the culling tests in the previous frame. This flag must be manually cleared by the Cullable object every frame.


The documentation for this struct was generated from the following file: