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