sandbox
Loading...
Searching...
No Matches
sbx::graphics::query_pool Class Reference

Public Types

using handle_type = VkQueryPool
 

Public Member Functions

 query_pool (const logical_device &logical_device, const VkQueryType type, const std::uint32_t query_count)
 
 query_pool (const query_pool &)=delete
 
auto operator= (const query_pool &) -> query_pool &=delete
 
auto handle () const -> handle_type
 
 operator handle_type () const
 
auto reset (command_buffer &command_buffer, std::uint32_t first_query=0u, std::uint32_t count=0u) const -> void
 
auto write_timestamp (command_buffer &command_buffer, const VkPipelineStageFlagBits stage, const std::uint32_t query_index) const -> void
 
auto get_duration (const std::uint32_t begin, const std::uint32_t end) const -> units::millisecond
 

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