Enum external_memory::ExternalImageMemoryType [−][src]
pub enum ExternalImageMemoryType { OpaqueFd, OpaqueWin32, OpaqueWin32Kmt, D3D11Texture, D3D11TextureKmt, D3D12Heap, D3D12Resource, DmaBuf(Vec<DrmModifier>), AndroidHardwareBuffer, HostAllocation, HostMappedForeignMemory, }
Expand description
Representation of an external memory type for images.
Variants
This is supported on Unix only. Same as ExternalMemoryTypeFlags::OPAQUE_FD
This is supported on Windows only. Same as ExternalMemoryTypeFlags::OPAQUE_WIN32
This is supported on Windows only. Same as ExternalMemoryTypeFlags::OPAQUE_WIN32_KMT
This is supported on Windows only. Same as ExternalMemoryTypeFlags::D3D11_TEXTURE
This is supported on Windows only. Same as ExternalMemoryTypeFlags::D3D11_TEXTURE_KMT
This is supported on Windows only. Same as ExternalMemoryTypeFlags::D3D12_HEAP
This is supported on Windows only. Same as ExternalMemoryTypeFlags::D3D12_RESOURCE
DmaBuf(Vec<DrmModifier>)
This is supported on Linux or Android only. Same as ExternalMemoryTypeFlags::DMA_BUF
This is supported on Android only. Same as ExternalMemoryTypeFlags::ANDROID_HARDWARE_BUFFER
Implementations
Get the ExternalMemoryType from this enum.
Trait Implementations
Performs the conversion.
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for ExternalImageMemoryType
impl Send for ExternalImageMemoryType
impl Sync for ExternalImageMemoryType
impl Unpin for ExternalImageMemoryType
impl UnwindSafe for ExternalImageMemoryType
Blanket Implementations
Mutably borrows from an owned value. Read more