pub enum PixelFormat {
R32Float,
R8G8B8A8,
B8G8R8A8,
R16G16B16A16,
B8G8R8X8,
D32Float,
D16Unorm,
D24UnormS8Uint,
D32FloatS8X24Uint,
Other(QarPixelFormat),
}Expand description
Pixel format of a frame texture (QarPixelFormat).
Variants§
R32Float
R8G8B8A8
B8G8R8A8
R16G16B16A16
B8G8R8X8
D32Float
D16Unorm
16-bit normalized depth, accepted only as a render sender’s depth format; the sender widens it to 32-bit float before the frame leaves the application.
D24UnormS8Uint
Depth with stencil, accepted only as an OpenGL or Vulkan sender’s depth format (the CPU and D3D11 senders refuse it); only the depth is streamed, as 32-bit float.
D32FloatS8X24Uint
32-bit float depth with stencil, accepted as Self::D24UnormS8Uint is.
Other(QarPixelFormat)
A value not in the C header.
Trait Implementations§
Source§impl Clone for PixelFormat
impl Clone for PixelFormat
impl Copy for PixelFormat
Source§impl Debug for PixelFormat
impl Debug for PixelFormat
impl Eq for PixelFormat
Source§impl Hash for PixelFormat
impl Hash for PixelFormat
Source§impl PartialEq for PixelFormat
impl PartialEq for PixelFormat
impl StructuralPartialEq for PixelFormat
Auto Trait Implementations§
impl Freeze for PixelFormat
impl RefUnwindSafe for PixelFormat
impl Send for PixelFormat
impl Sync for PixelFormat
impl Unpin for PixelFormat
impl UnsafeUnpin for PixelFormat
impl UnwindSafe for PixelFormat
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