Struct ash::vk::NativeBufferUsage2ANDROIDBuilder
source · #[repr(transparent)]pub struct NativeBufferUsage2ANDROIDBuilder<'a> { /* private fields */ }
Implementations§
source§impl<'a> NativeBufferUsage2ANDROIDBuilder<'a>
impl<'a> NativeBufferUsage2ANDROIDBuilder<'a>
pub fn consumer(self, consumer: u64) -> Self
pub fn producer(self, producer: u64) -> Self
sourcepub fn build(self) -> NativeBufferUsage2ANDROID
pub fn build(self) -> NativeBufferUsage2ANDROID
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.