Struct ash::vk::DescriptorSetLayoutBindingBuilder
source · 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.
Trait Implementations§
source§impl<'a> Deref for DescriptorSetLayoutBindingBuilder<'a>
impl<'a> Deref for DescriptorSetLayoutBindingBuilder<'a>
Auto Trait Implementations§
impl<'a> Freeze for DescriptorSetLayoutBindingBuilder<'a>
impl<'a> RefUnwindSafe for DescriptorSetLayoutBindingBuilder<'a>
impl<'a> !Send for DescriptorSetLayoutBindingBuilder<'a>
impl<'a> !Sync for DescriptorSetLayoutBindingBuilder<'a>
impl<'a> Unpin for DescriptorSetLayoutBindingBuilder<'a>
impl<'a> UnwindSafe for DescriptorSetLayoutBindingBuilder<'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