Struct ash::vk::DescriptorBufferInfoBuilder
source · #[repr(transparent)]pub struct DescriptorBufferInfoBuilder<'a> { /* private fields */ }
Implementations§
source§impl<'a> DescriptorBufferInfoBuilder<'a>
impl<'a> DescriptorBufferInfoBuilder<'a>
pub fn buffer(self, buffer: Buffer) -> Self
pub fn offset(self, offset: DeviceSize) -> Self
pub fn range(self, range: DeviceSize) -> Self
sourcepub fn build(self) -> DescriptorBufferInfo
pub fn build(self) -> DescriptorBufferInfo
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.