candlewick 0.1.0
A renderer
Loading...
Searching...
No Matches
candlewick::FrustumBoundsDebugSystem Class Referencefinal

#include <candlewick/core/debug/Frustum.h>

Public Member Functions

 FrustumBoundsDebugSystem (entt::registry &registry, const Renderer &renderer)
 
entt::registry & registry ()
 
const entt::registry & registry () const
 
std::tuple< entt::entity, DebugFrustumComponent & > addFrustum (const Camera &otherCam, Float4 color=0x00BFFFff_rgbaf)
 
template<typename BoundsType>
std::tuple< entt::entity, DebugBoundsComponent & > addBounds (const BoundsType &bounds)
 
void render (CommandBuffer &cmdBuf, const Camera &camera)
 
void release () noexcept
 
 ~FrustumBoundsDebugSystem ()
 

Constructor & Destructor Documentation

◆ FrustumBoundsDebugSystem()

candlewick::FrustumBoundsDebugSystem::FrustumBoundsDebugSystem ( entt::registry & registry,
const Renderer & renderer )

◆ ~FrustumBoundsDebugSystem()

candlewick::FrustumBoundsDebugSystem::~FrustumBoundsDebugSystem ( )
inline

Member Function Documentation

◆ addBounds()

template<typename BoundsType>
std::tuple< entt::entity, DebugBoundsComponent & > candlewick::FrustumBoundsDebugSystem::addBounds ( const BoundsType & bounds)
inline

◆ addFrustum()

std::tuple< entt::entity, DebugFrustumComponent & > candlewick::FrustumBoundsDebugSystem::addFrustum ( const Camera & otherCam,
Float4 color = 0x00BFFFff_rgbaf )
inline

◆ registry() [1/2]

entt::registry & candlewick::FrustumBoundsDebugSystem::registry ( )
inline

◆ registry() [2/2]

const entt::registry & candlewick::FrustumBoundsDebugSystem::registry ( ) const
inline

◆ release()

void candlewick::FrustumBoundsDebugSystem::release ( )
inlinenoexcept

◆ render()

void candlewick::FrustumBoundsDebugSystem::render ( CommandBuffer & cmdBuf,
const Camera & camera )

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