Struct ash::vk::PushDescriptorSetInfoKHR
source · #[repr(C)]pub struct PushDescriptorSetInfoKHR<'a> {
pub s_type: StructureType,
pub p_next: *const c_void,
pub stage_flags: ShaderStageFlags,
pub layout: PipelineLayout,
pub set: u32,
pub descriptor_write_count: u32,
pub p_descriptor_writes: *const WriteDescriptorSet<'a>,
pub _marker: PhantomData<&'a ()>,
}
Expand description
Fields§
§s_type: StructureType
§p_next: *const c_void
§stage_flags: ShaderStageFlags
§layout: PipelineLayout
§set: u32
§descriptor_write_count: u32
§p_descriptor_writes: *const WriteDescriptorSet<'a>
§_marker: PhantomData<&'a ()>
Implementations§
source§impl<'a> PushDescriptorSetInfoKHR<'a>
impl<'a> PushDescriptorSetInfoKHR<'a>
pub fn stage_flags(self, stage_flags: ShaderStageFlags) -> Self
pub fn layout(self, layout: PipelineLayout) -> Self
pub fn set(self, set: u32) -> Self
pub fn descriptor_writes( self, descriptor_writes: &'a [WriteDescriptorSet<'a>], ) -> Self
sourcepub fn push_next<T: ExtendsPushDescriptorSetInfoKHR + ?Sized>(
self,
next: &'a mut T,
) -> Self
pub fn push_next<T: ExtendsPushDescriptorSetInfoKHR + ?Sized>( self, next: &'a mut T, ) -> Self
Prepends the given extension struct between the root and the first pointer. This
method only exists on structs that can be passed to a function directly. Only
valid extension structs can be pushed into the chain.
If the chain looks like A -> B -> C
, and you call x.push_next(&mut D)
, then the
chain will look like A -> D -> B -> C
.
Trait Implementations§
source§impl<'a> Clone for PushDescriptorSetInfoKHR<'a>
impl<'a> Clone for PushDescriptorSetInfoKHR<'a>
source§fn clone(&self) -> PushDescriptorSetInfoKHR<'a>
fn clone(&self) -> PushDescriptorSetInfoKHR<'a>
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<'a> Debug for PushDescriptorSetInfoKHR<'a>
impl<'a> Debug for PushDescriptorSetInfoKHR<'a>
source§impl Default for PushDescriptorSetInfoKHR<'_>
impl Default for PushDescriptorSetInfoKHR<'_>
source§impl<'a> TaggedStructure for PushDescriptorSetInfoKHR<'a>
impl<'a> TaggedStructure for PushDescriptorSetInfoKHR<'a>
const STRUCTURE_TYPE: StructureType = StructureType::PUSH_DESCRIPTOR_SET_INFO_KHR
impl<'a> Copy for PushDescriptorSetInfoKHR<'a>
impl Send for PushDescriptorSetInfoKHR<'_>
impl Sync for PushDescriptorSetInfoKHR<'_>
Auto Trait Implementations§
impl<'a> Freeze for PushDescriptorSetInfoKHR<'a>
impl<'a> RefUnwindSafe for PushDescriptorSetInfoKHR<'a>
impl<'a> Unpin for PushDescriptorSetInfoKHR<'a>
impl<'a> UnwindSafe for PushDescriptorSetInfoKHR<'a>
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