Struct ash::vk::SetDescriptorBufferOffsetsInfoEXT
source · #[repr(C)]pub struct SetDescriptorBufferOffsetsInfoEXT<'a> {
pub s_type: StructureType,
pub p_next: *const c_void,
pub stage_flags: ShaderStageFlags,
pub layout: PipelineLayout,
pub first_set: u32,
pub set_count: u32,
pub p_buffer_indices: *const u32,
pub p_offsets: *const DeviceSize,
pub _marker: PhantomData<&'a ()>,
}
Expand description
Fields§
§s_type: StructureType
§p_next: *const c_void
§stage_flags: ShaderStageFlags
§layout: PipelineLayout
§first_set: u32
§set_count: u32
§p_buffer_indices: *const u32
§p_offsets: *const DeviceSize
§_marker: PhantomData<&'a ()>
Implementations§
source§impl<'a> SetDescriptorBufferOffsetsInfoEXT<'a>
impl<'a> SetDescriptorBufferOffsetsInfoEXT<'a>
pub fn stage_flags(self, stage_flags: ShaderStageFlags) -> Self
pub fn layout(self, layout: PipelineLayout) -> Self
pub fn first_set(self, first_set: u32) -> Self
pub fn buffer_indices(self, buffer_indices: &'a [u32]) -> Self
pub fn offsets(self, offsets: &'a [DeviceSize]) -> Self
sourcepub fn push_next<T: ExtendsSetDescriptorBufferOffsetsInfoEXT + ?Sized>(
self,
next: &'a mut T,
) -> Self
pub fn push_next<T: ExtendsSetDescriptorBufferOffsetsInfoEXT + ?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 SetDescriptorBufferOffsetsInfoEXT<'a>
impl<'a> Clone for SetDescriptorBufferOffsetsInfoEXT<'a>
source§fn clone(&self) -> SetDescriptorBufferOffsetsInfoEXT<'a>
fn clone(&self) -> SetDescriptorBufferOffsetsInfoEXT<'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 SetDescriptorBufferOffsetsInfoEXT<'a>
impl<'a> Debug for SetDescriptorBufferOffsetsInfoEXT<'a>
source§impl Default for SetDescriptorBufferOffsetsInfoEXT<'_>
impl Default for SetDescriptorBufferOffsetsInfoEXT<'_>
source§impl<'a> TaggedStructure for SetDescriptorBufferOffsetsInfoEXT<'a>
impl<'a> TaggedStructure for SetDescriptorBufferOffsetsInfoEXT<'a>
const STRUCTURE_TYPE: StructureType = StructureType::SET_DESCRIPTOR_BUFFER_OFFSETS_INFO_EXT
impl<'a> Copy for SetDescriptorBufferOffsetsInfoEXT<'a>
impl Send for SetDescriptorBufferOffsetsInfoEXT<'_>
impl Sync for SetDescriptorBufferOffsetsInfoEXT<'_>
Auto Trait Implementations§
impl<'a> Freeze for SetDescriptorBufferOffsetsInfoEXT<'a>
impl<'a> RefUnwindSafe for SetDescriptorBufferOffsetsInfoEXT<'a>
impl<'a> Unpin for SetDescriptorBufferOffsetsInfoEXT<'a>
impl<'a> UnwindSafe for SetDescriptorBufferOffsetsInfoEXT<'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