Struct ash::vk::DescriptorSetLayoutBindingBuilder
source · #[repr(transparent)]pub struct DescriptorSetLayoutBindingBuilder<'a> { /* private fields */ }
Implementations§
source§impl<'a> DescriptorSetLayoutBindingBuilder<'a>
impl<'a> DescriptorSetLayoutBindingBuilder<'a>
pub fn binding(self, binding: u32) -> Self
pub fn descriptor_type(self, descriptor_type: DescriptorType) -> Self
pub fn descriptor_count(self, descriptor_count: u32) -> Self
pub fn stage_flags(self, stage_flags: ShaderStageFlags) -> Self
pub fn immutable_samplers(self, immutable_samplers: &'a [Sampler]) -> Self
sourcepub fn build(self) -> DescriptorSetLayoutBinding
pub fn build(self) -> DescriptorSetLayoutBinding
Calling build will discard all the lifetime information. Only call this if
necessary! Builders implement Deref
targeting their corresponding Vulkan struct,
so references to builders can be passed directly to Vulkan functions.