Struct ash::vk::ImportMetalTextureInfoEXTBuilder
source · pub struct ImportMetalTextureInfoEXTBuilder<'a> { /* private fields */ }
Implementations§
source§impl<'a> ImportMetalTextureInfoEXTBuilder<'a>
impl<'a> ImportMetalTextureInfoEXTBuilder<'a>
pub fn plane(self, plane: ImageAspectFlags) -> Self
pub fn mtl_texture(self, mtl_texture: MTLTexture_id) -> Self
sourcepub fn build(self) -> ImportMetalTextureInfoEXT
pub fn build(self) -> ImportMetalTextureInfoEXT
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 ImportMetalTextureInfoEXTBuilder<'a>
impl<'a> Deref for ImportMetalTextureInfoEXTBuilder<'a>
source§impl<'a> DerefMut for ImportMetalTextureInfoEXTBuilder<'a>
impl<'a> DerefMut for ImportMetalTextureInfoEXTBuilder<'a>
impl ExtendsImageCreateInfo for ImportMetalTextureInfoEXTBuilder<'_>
Auto Trait Implementations§
impl<'a> RefUnwindSafe for ImportMetalTextureInfoEXTBuilder<'a>
impl<'a> !Send for ImportMetalTextureInfoEXTBuilder<'a>
impl<'a> !Sync for ImportMetalTextureInfoEXTBuilder<'a>
impl<'a> Unpin for ImportMetalTextureInfoEXTBuilder<'a>
impl<'a> UnwindSafe for ImportMetalTextureInfoEXTBuilder<'a>
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more