pub struct PlatformGraphicsExternalImageProperties {
pub width: i32,
pub height: i32,
pub format: PlatformGraphicsExternalImageFormat,
pub memory_size: u64,
pub memory_offset: u64,
pub top_left_origin: bool,
pub vulkan_properties: Option<PlatformGraphicsExternalImageVulkanProperties>,
pub dma_buf_properties: Option<PlatformGraphicsExternalImageDmaBufProperties>,
}Expand description
The description of a GPU image to import.
Fields§
§width: i32§height: i32§format: PlatformGraphicsExternalImageFormat§memory_size: u64§memory_offset: u64§top_left_origin: bool§vulkan_properties: Option<PlatformGraphicsExternalImageVulkanProperties>Vulkan-specific properties of the imported image, ignored by other backends.
dma_buf_properties: Option<PlatformGraphicsExternalImageDmaBufProperties>dma-buf-specific properties of the imported image.
Trait Implementations§
impl Eq for PlatformGraphicsExternalImageProperties
impl StructuralPartialEq for PlatformGraphicsExternalImageProperties
Auto Trait Implementations§
impl Freeze for PlatformGraphicsExternalImageProperties
impl RefUnwindSafe for PlatformGraphicsExternalImageProperties
impl Send for PlatformGraphicsExternalImageProperties
impl Sync for PlatformGraphicsExternalImageProperties
impl Unpin for PlatformGraphicsExternalImageProperties
impl UnsafeUnpin for PlatformGraphicsExternalImageProperties
impl UnwindSafe for PlatformGraphicsExternalImageProperties
Blanket Implementations§
Source§impl<T> AnyValue for Twhere
T: PartialEq + 'static,
impl<T> AnyValue for Twhere
T: PartialEq + 'static,
fn any_value_as_any(&self) -> &(dyn Any + 'static)
fn any_value_eq(&self, other: &(dyn AnyValue + 'static)) -> bool
fn any_value_type_name(&self) -> &'static str
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
Source§impl<T> ClassDefaults for Twhere
T: ?Sized,
impl<T> ClassDefaults for Twhere
T: ?Sized,
Source§fn static_constructor()
fn static_constructor()
The static constructor of a type: work done once per thread, after
the properties of the type are registered and before its first
instance exists (class handlers,
affects_render, metadata
overrides). Read more