ash::vk

Type Alias DescriptorUpdateTemplateEntryKHR

Source
pub type DescriptorUpdateTemplateEntryKHR = DescriptorUpdateTemplateEntry;

Aliased Type§

struct DescriptorUpdateTemplateEntryKHR {
    pub dst_binding: u32,
    pub dst_array_element: u32,
    pub descriptor_count: u32,
    pub descriptor_type: DescriptorType,
    pub offset: usize,
    pub stride: usize,
}

Fields§

§dst_binding: u32§dst_array_element: u32§descriptor_count: u32§descriptor_type: DescriptorType§offset: usize§stride: usize

Implementations

Source§

impl DescriptorUpdateTemplateEntry

Source

pub fn dst_binding(self, dst_binding: u32) -> Self

Source

pub fn dst_array_element(self, dst_array_element: u32) -> Self

Source

pub fn descriptor_count(self, descriptor_count: u32) -> Self

Source

pub fn descriptor_type(self, descriptor_type: DescriptorType) -> Self

Source

pub fn offset(self, offset: usize) -> Self

Source

pub fn stride(self, stride: usize) -> Self

Trait Implementations

Source§

impl Clone for DescriptorUpdateTemplateEntry

Source§

fn clone(&self) -> DescriptorUpdateTemplateEntry

Returns a copy of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for DescriptorUpdateTemplateEntry

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Default for DescriptorUpdateTemplateEntry

Source§

fn default() -> DescriptorUpdateTemplateEntry

Returns the “default value” for a type. Read more
Source§

impl Copy for DescriptorUpdateTemplateEntry