pub struct VkPipelineCache { /* private fields */ }Expand description
Wrapper for VkPipelineCache.
Implementations§
Source§impl VkPipelineCache
impl VkPipelineCache
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 vkDestroyPipelineCache.
Sourcepub fn get_data(&self) -> LavaResult<Vec<u8>>
pub fn get_data(&self) -> LavaResult<Vec<u8>>
Wrapper for vkGetPipelineCacheData.
Sourcepub fn merge(&self, src_caches: Vec<VkPipelineCache>) -> LavaResult<()>
pub fn merge(&self, src_caches: Vec<VkPipelineCache>) -> LavaResult<()>
Wrapper for vkMergePipelineCaches.
Trait Implementations§
Source§impl Clone for VkPipelineCache
impl Clone for VkPipelineCache
Source§fn clone(&self) -> VkPipelineCache
fn clone(&self) -> VkPipelineCache
Returns a duplicate 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 VkPipelineCache
impl Debug for VkPipelineCache
Source§impl Default for VkPipelineCache
impl Default for VkPipelineCache
Source§fn default() -> VkPipelineCache
fn default() -> VkPipelineCache
Returns the “default value” for a type. Read more
Source§impl PartialEq for VkPipelineCache
impl PartialEq for VkPipelineCache
impl Copy for VkPipelineCache
Auto Trait Implementations§
impl Freeze for VkPipelineCache
impl RefUnwindSafe for VkPipelineCache
impl !Send for VkPipelineCache
impl !Sync for VkPipelineCache
impl Unpin for VkPipelineCache
impl UnwindSafe for VkPipelineCache
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