Struct ash::vk::DescriptorPoolSizeBuilder
source · #[repr(transparent)]pub struct DescriptorPoolSizeBuilder<'a> { /* private fields */ }
Implementations§
source§impl<'a> DescriptorPoolSizeBuilder<'a>
impl<'a> DescriptorPoolSizeBuilder<'a>
pub fn ty(self, ty: DescriptorType) -> Self
pub fn descriptor_count(self, descriptor_count: u32) -> Self
sourcepub fn build(self) -> DescriptorPoolSize
pub fn build(self) -> DescriptorPoolSize
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.