#[repr(C)]pub struct WriteDescriptorSet {
pub s_type: StructureType,
pub p_next: *const c_void,
pub dst_set: DescriptorSet,
pub dst_binding: u32,
pub dst_array_element: u32,
pub descriptor_count: u32,
pub descriptor_type: DescriptorType,
pub p_image_info: *const DescriptorImageInfo,
pub p_buffer_info: *const DescriptorBufferInfo,
pub p_texel_buffer_view: *const BufferView,
}Expand description
Fields§
§s_type: StructureTypeMust be VK_STRUCTURE_TYPE_WRITE_DESCRIPTOR_SET.
p_next: *const c_voidOptional, may be null.
dst_set: DescriptorSet§dst_binding: u32§dst_array_element: u32§descriptor_count: u32Length of p_texel_buffer_view.
descriptor_type: DescriptorType§p_image_info: *const DescriptorImageInfo§p_buffer_info: *const DescriptorBufferInfo§p_texel_buffer_view: *const BufferViewImplementations§
Source§impl WriteDescriptorSet
impl WriteDescriptorSet
Sourcepub fn builder<'a>() -> WriteDescriptorSetBuilder<'a>
pub fn builder<'a>() -> WriteDescriptorSetBuilder<'a>
Start building this struct; s_type is already set to the correct variant.
Trait Implementations§
Source§impl Clone for WriteDescriptorSet
impl Clone for WriteDescriptorSet
Source§fn clone(&self) -> WriteDescriptorSet
fn clone(&self) -> WriteDescriptorSet
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 WriteDescriptorSet
impl Debug for WriteDescriptorSet
Source§impl Default for WriteDescriptorSet
impl Default for WriteDescriptorSet
Source§fn default() -> WriteDescriptorSet
fn default() -> WriteDescriptorSet
Returns the “default value” for a type. Read more
impl Copy for WriteDescriptorSet
Auto Trait Implementations§
impl Freeze for WriteDescriptorSet
impl RefUnwindSafe for WriteDescriptorSet
impl !Send for WriteDescriptorSet
impl !Sync for WriteDescriptorSet
impl Unpin for WriteDescriptorSet
impl UnsafeUnpin for WriteDescriptorSet
impl UnwindSafe for WriteDescriptorSet
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