Struct screen_13::prelude::vk::ExternalMemoryPropertiesBuilder
source · pub struct ExternalMemoryPropertiesBuilder<'a> { /* private fields */ }Implementations§
source§impl<'a> ExternalMemoryPropertiesBuilder<'a>
impl<'a> ExternalMemoryPropertiesBuilder<'a>
pub fn external_memory_features(
self,
external_memory_features: ExternalMemoryFeatureFlags
) -> ExternalMemoryPropertiesBuilder<'a>
pub fn export_from_imported_handle_types(
self,
export_from_imported_handle_types: ExternalMemoryHandleTypeFlags
) -> ExternalMemoryPropertiesBuilder<'a>
pub fn compatible_handle_types(
self,
compatible_handle_types: ExternalMemoryHandleTypeFlags
) -> ExternalMemoryPropertiesBuilder<'a>
sourcepub fn build(self) -> ExternalMemoryProperties
pub fn build(self) -> ExternalMemoryProperties
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.
Trait Implementations§
source§impl<'a> Deref for ExternalMemoryPropertiesBuilder<'a>
impl<'a> Deref for ExternalMemoryPropertiesBuilder<'a>
§type Target = ExternalMemoryProperties
type Target = ExternalMemoryProperties
The resulting type after dereferencing.