#[repr(C)]pub struct PipelineCacheCreateInfo {
pub s_type: StructureType,
pub p_next: *const c_void,
pub flags: PipelineCacheCreateFlagBits,
pub initial_data_size: usize,
pub p_initial_data: *const c_void,
}Expand description
VkPipelineCacheCreateInfo
Provided by VK_COMPUTE_VERSION_1_0.
Fields§
§s_type: StructureTypeMust be VK_STRUCTURE_TYPE_PIPELINE_CACHE_CREATE_INFO.
p_next: *const c_voidOptional, may be null.
flags: PipelineCacheCreateFlagBits§initial_data_size: usizeLength of p_initial_data.
p_initial_data: *const c_voidImplementations§
Source§impl PipelineCacheCreateInfo
impl PipelineCacheCreateInfo
Sourcepub fn builder<'a>() -> PipelineCacheCreateInfoBuilder<'a>
pub fn builder<'a>() -> PipelineCacheCreateInfoBuilder<'a>
Start building this struct; s_type is already set to the correct variant.
Trait Implementations§
Source§impl Clone for PipelineCacheCreateInfo
impl Clone for PipelineCacheCreateInfo
Source§fn clone(&self) -> PipelineCacheCreateInfo
fn clone(&self) -> PipelineCacheCreateInfo
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 PipelineCacheCreateInfo
impl Debug for PipelineCacheCreateInfo
Source§impl Default for PipelineCacheCreateInfo
impl Default for PipelineCacheCreateInfo
Source§fn default() -> PipelineCacheCreateInfo
fn default() -> PipelineCacheCreateInfo
Returns the “default value” for a type. Read more
impl Copy for PipelineCacheCreateInfo
Auto Trait Implementations§
impl Freeze for PipelineCacheCreateInfo
impl RefUnwindSafe for PipelineCacheCreateInfo
impl !Send for PipelineCacheCreateInfo
impl !Sync for PipelineCacheCreateInfo
impl Unpin for PipelineCacheCreateInfo
impl UnsafeUnpin 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