Foundation
Loading...
Searching...
No Matches
Public Member Functions | Private Attributes | List of all members
Foundation::RHI::VulkanDeviceQueryPool Class Reference

#include <Device.hpp>

Inheritance diagram for Foundation::RHI::VulkanDeviceQueryPool:
Foundation::RHI::RHIDeviceQueryPool Foundation::RHI::RHIObject

Public Member Functions

 VulkanDeviceQueryPool (const VulkanDevice &device, QueryPoolDesc const &desc)
 
auto constGetVkQueryPool () const
 
const float GetTimestampResolution () override
 
void Reset () override
 
Span< const uint64_tGetTimestampResults (bool wait) override
 
void DebugSetObjectName (const char *name) override
 
- Public Member Functions inherited from Foundation::RHI::RHIDeviceQueryPool
 RHIDeviceQueryPool (RHIDevice const &device, QueryPoolDesc const &desc)
 
- Public Member Functions inherited from Foundation::RHI::RHIObject
 RHIObject ()=default
 
 RHIObject (RHIObject const &)=delete
 
RHIObjectoperator= (const RHIObject &)=delete
 
 RHIObject (RHIObject &&)=delete
 
RHIObjectoperator= (RHIObject &&)=delete
 
virtual ~RHIObject ()=default
 

Private Attributes

const VulkanDevicemDevice
 
const float mTimestampResolution
 
vk::raii::QueryPool mQueryPool { nullptr }
 
Vector< uint64_tmTimestampResults
 

Additional Inherited Members

- Public Attributes inherited from Foundation::RHI::RHIDeviceQueryPool
struct Foundation::RHI::RHIDeviceQueryPool::QueryPoolDesc mDesc
 
- Protected Attributes inherited from Foundation::RHI::RHIDeviceQueryPool
const RHIDevicemDevice
 

Constructor & Destructor Documentation

◆ VulkanDeviceQueryPool()

VulkanDeviceQueryPool::VulkanDeviceQueryPool ( const VulkanDevice device,
QueryPoolDesc const desc 
)

Member Function Documentation

◆ DebugSetObjectName()

void VulkanDeviceQueryPool::DebugSetObjectName ( const char name)
overridevirtual

◆ GetTimestampResolution()

const float Foundation::RHI::VulkanDeviceQueryPool::GetTimestampResolution ( )
inlineoverridevirtual

◆ GetTimestampResults()

Span< const uint64_t > VulkanDeviceQueryPool::GetTimestampResults ( bool  wait)
overridevirtual

◆ GetVkQueryPool()

auto const & Foundation::RHI::VulkanDeviceQueryPool::GetVkQueryPool ( ) const
inline

◆ Reset()

void VulkanDeviceQueryPool::Reset ( )
overridevirtual

Member Data Documentation

◆ mDevice

const VulkanDevice& Foundation::RHI::VulkanDeviceQueryPool::mDevice
private

◆ mQueryPool

vk::raii::QueryPool Foundation::RHI::VulkanDeviceQueryPool::mQueryPool { nullptr }
private

◆ mTimestampResolution

const float Foundation::RHI::VulkanDeviceQueryPool::mTimestampResolution
private

◆ mTimestampResults

Vector<uint64_t> Foundation::RHI::VulkanDeviceQueryPool::mTimestampResults
private

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