pub struct VkQueryPool { /* private fields */ }
Expand description
Wrapper for VkQueryPool.
Implementations§
Source§impl VkQueryPool
impl VkQueryPool
Sourcepub fn null() -> Self
pub fn null() -> Self
Creates an object with a null Vulkan internal handle.
Calling a method with a null handle will most likely result in a crash.
Sourcepub fn destroy(&self)
pub fn destroy(&self)
Wrapper for vkDestroyQueryPool.
Sourcepub fn get_results(
&self,
first_query: usize,
query_count: usize,
data: &[u8],
stride: usize,
flags: VkQueryResultFlags,
) -> LavaResult<()>
pub fn get_results( &self, first_query: usize, query_count: usize, data: &[u8], stride: usize, flags: VkQueryResultFlags, ) -> LavaResult<()>
Wrapper for vkGetQueryPoolResults.
Sourcepub fn reset(&self, first_query: usize, query_count: usize)
pub fn reset(&self, first_query: usize, query_count: usize)
Wrapper for vkResetQueryPool.
Trait Implementations§
Source§impl Clone for VkQueryPool
impl Clone for VkQueryPool
Source§fn clone(&self) -> VkQueryPool
fn clone(&self) -> VkQueryPool
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for VkQueryPool
impl Debug for VkQueryPool
Source§impl Default for VkQueryPool
impl Default for VkQueryPool
Source§fn default() -> VkQueryPool
fn default() -> VkQueryPool
Returns the “default value” for a type. Read more
Source§impl PartialEq for VkQueryPool
impl PartialEq for VkQueryPool
impl Copy for VkQueryPool
Auto Trait Implementations§
impl Freeze for VkQueryPool
impl RefUnwindSafe for VkQueryPool
impl !Send for VkQueryPool
impl !Sync for VkQueryPool
impl Unpin for VkQueryPool
impl UnwindSafe for VkQueryPool
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more