Enum solstice::PixelFormat
source · pub enum PixelFormat {
Show 22 variants
Unknown,
LUMINANCE,
RG8,
RGB8,
RGBA8,
SRGBA8,
R16,
RG16,
RGBA16,
R16F,
RG16F,
RGBA16F,
R32F,
RG32F,
RGBA32F,
Alpha,
Stencil8,
Depth16,
Depth24,
Depth32F,
Depth24Stencil8,
Depth32fStencil8,
}
Variants§
Unknown
LUMINANCE
RG8
RGB8
RGBA8
SRGBA8
R16
RG16
RGBA16
R16F
RG16F
RGBA16F
R32F
RG32F
RGBA32F
Alpha
Stencil8
Depth16
Depth24
Depth32F
Depth24Stencil8
Depth32fStencil8
Trait Implementations§
source§impl Clone for PixelFormat
impl Clone for PixelFormat
source§fn clone(&self) -> PixelFormat
fn clone(&self) -> PixelFormat
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for PixelFormat
impl Debug for PixelFormat
source§impl PartialEq<PixelFormat> for PixelFormat
impl PartialEq<PixelFormat> for PixelFormat
source§fn eq(&self, other: &PixelFormat) -> bool
fn eq(&self, other: &PixelFormat) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.