Foundation
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
Foundation::RHI::RHIDeviceIdleGuard Struct Reference

RAII guard to wait for device idle on destruction. More...

#include <Device.hpp>

Public Member Functions

 RHIDeviceIdleGuard ()=delete
 
 RHIDeviceIdleGuard (RHIDevice const *device)
 
void WaitIdle () const
 
 ~RHIDeviceIdleGuard ()
 

Public Attributes

RHIDevice constmDevice { nullptr }
 

Detailed Description

RAII guard to wait for device idle on destruction.

Constructor & Destructor Documentation

◆ RHIDeviceIdleGuard() [1/2]

Foundation::RHI::RHIDeviceIdleGuard::RHIDeviceIdleGuard ( )
delete

◆ RHIDeviceIdleGuard() [2/2]

Foundation::RHI::RHIDeviceIdleGuard::RHIDeviceIdleGuard ( RHIDevice const device)
inline

◆ ~RHIDeviceIdleGuard()

Foundation::RHI::RHIDeviceIdleGuard::~RHIDeviceIdleGuard ( )
inline

Member Function Documentation

◆ WaitIdle()

void Foundation::RHI::RHIDeviceIdleGuard::WaitIdle ( ) const
inline

Member Data Documentation

◆ mDevice

RHIDevice const* Foundation::RHI::RHIDeviceIdleGuard::mDevice { nullptr }

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