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::CullData Struct Reference

Public Attributes

AzFramework::VisibilityEntry m_visibilityEntry
 
AZ::Sphere m_boundingSphere
 World-space bounding sphere.
 
AZ::Obb m_boundingObb
 World-space bounding oriented-bounding-box.
 
RHI::DrawListMask m_drawListMask
 
RPI::View::UsageFlags m_hideFlags = RPI::View::UsageNone
 
AZ::Uuid m_componentUuid = AZ::Uuid::CreateNull()
 UUID and type of the component that owns this cullable (optional)
 
uint32_t m_componentType = 0
 

Member Data Documentation

◆ m_drawListMask

RHI::DrawListMask AZ::RPI::Cullable::CullData::m_drawListMask

Will only pass visibility if at least one of the drawListMask bits matches the view's drawListMask. Set to all 1's if the object type doesn't have a drawListMask

◆ m_hideFlags

RPI::View::UsageFlags AZ::RPI::Cullable::CullData::m_hideFlags = RPI::View::UsageNone

Will hide this object if any of the hideFlags match the View's usage flags. Useful to hide objects from certain Views. Set to all 0's if you don't want to hide the object from any Views.


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