#[repr(transparent)]pub struct ImportAndroidHardwareBufferInfoANDROIDBuilder<'a> { /* private fields */ }
Implementations§
source§impl<'a> ImportAndroidHardwareBufferInfoANDROIDBuilder<'a>
impl<'a> ImportAndroidHardwareBufferInfoANDROIDBuilder<'a>
pub fn buffer(self, buffer: *mut AHardwareBuffer) -> Self
sourcepub fn build(self) -> ImportAndroidHardwareBufferInfoANDROID
pub fn build(self) -> ImportAndroidHardwareBufferInfoANDROID
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.