Struct vulkano::pipeline::cache::PipelineCacheCreateInfo
source · pub struct PipelineCacheCreateInfo {
pub flags: PipelineCacheCreateFlags,
pub initial_data: Vec<u8>,
pub _ne: NonExhaustive,
}
Expand description
Parameters to create a new PipelineCache
.
Fields§
§flags: PipelineCacheCreateFlags
Additional properties of the pipeline cache.
The default value is empty.
initial_data: Vec<u8>
The initial data to provide to the cache.
If this is not empty, then the data must have been previously retrieved by calling
PipelineCache::get_data
.
The data passed to this function will most likely be blindly trusted by the Vulkan implementation. Therefore you can easily crash your application or the system by passing wrong data.
The default value is empty.
_ne: NonExhaustive
Trait Implementations§
source§impl Clone for PipelineCacheCreateInfo
impl Clone for PipelineCacheCreateInfo
source§fn clone(&self) -> PipelineCacheCreateInfo
fn clone(&self) -> PipelineCacheCreateInfo
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 PipelineCacheCreateInfo
impl Debug for PipelineCacheCreateInfo
Auto Trait Implementations§
impl RefUnwindSafe for PipelineCacheCreateInfo
impl Send for PipelineCacheCreateInfo
impl Sync for PipelineCacheCreateInfo
impl Unpin for PipelineCacheCreateInfo
impl UnwindSafe for PipelineCacheCreateInfo
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