Struct ash::vk::DescriptorSetLayoutBindingBuilder [−][src]
#[repr(transparent)]pub struct DescriptorSetLayoutBindingBuilder<'a> { /* fields omitted */ }
Implementations
pub fn descriptor_type(
self,
descriptor_type: DescriptorType
) -> DescriptorSetLayoutBindingBuilder<'a>
pub fn stage_flags(
self,
stage_flags: ShaderStageFlags
) -> DescriptorSetLayoutBindingBuilder<'a>
pub fn immutable_samplers(
self,
immutable_samplers: &'a [Sampler]
) -> DescriptorSetLayoutBindingBuilder<'a>
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.
Methods from Deref<Target = DescriptorSetLayoutBinding>
Trait Implementations
type Target = DescriptorSetLayoutBinding
type Target = DescriptorSetLayoutBinding
The resulting type after dereferencing.