Enum sierra::Format [−][src]
pub enum Format {}Show variants
R8Unorm, R8Snorm, R8Uscaled, R8Sscaled, R8Uint, R8Sint, R8Srgb, RG8Unorm, RG8Snorm, RG8Uscaled, RG8Sscaled, RG8Uint, RG8Sint, RG8Srgb, RGB8Unorm, RGB8Snorm, RGB8Uscaled, RGB8Sscaled, RGB8Uint, RGB8Sint, RGB8Srgb, BGR8Unorm, BGR8Snorm, BGR8Uscaled, BGR8Sscaled, BGR8Uint, BGR8Sint, BGR8Srgb, RGBA8Unorm, RGBA8Snorm, RGBA8Uscaled, RGBA8Sscaled, RGBA8Uint, RGBA8Sint, RGBA8Srgb, BGRA8Unorm, BGRA8Snorm, BGRA8Uscaled, BGRA8Sscaled, BGRA8Uint, BGRA8Sint, BGRA8Srgb, R16Unorm, R16Snorm, R16Uscaled, R16Sscaled, R16Uint, R16Sint, R16Sfloat, RG16Unorm, RG16Snorm, RG16Uscaled, RG16Sscaled, RG16Uint, RG16Sint, RG16Sfloat, RGB16Unorm, RGB16Snorm, RGB16Uscaled, RGB16Sscaled, RGB16Uint, RGB16Sint, RGB16Sfloat, RGBA16Unorm, RGBA16Snorm, RGBA16Uscaled, RGBA16Sscaled, RGBA16Uint, RGBA16Sint, RGBA16Sfloat, R32Uint, R32Sint, R32Sfloat, RG32Uint, RG32Sint, RG32Sfloat, RGB32Uint, RGB32Sint, RGB32Sfloat, RGBA32Uint, RGBA32Sint, RGBA32Sfloat, R64Uint, R64Sint, R64Sfloat, RG64Uint, RG64Sint, RG64Sfloat, RGB64Uint, RGB64Sint, RGB64Sfloat, RGBA64Uint, RGBA64Sint, RGBA64Sfloat, D16Unorm, D32Sfloat, S8Uint, D16UnormS8Uint, D24UnormS8Uint, D32SfloatS8Uint,
Expand description
Texel format. Images can have different texel formats. Some of which are color or depth and/or stencil. Format defines components, number of bits, layout and representation of texels.
Variants
Implementations
Trait Implementations
Samples for this attachment. None if unspecified. Read more
fn get_view(
&self,
device: &Device,
usage: ImageUsage,
extent: Extent2d
) -> Result<ImageView, CreateImageError>
Auto Trait Implementations
impl RefUnwindSafe for Format
impl UnwindSafe for Format
Blanket Implementations
Mutably borrows from an owned value. Read more
impl<T> CallHasher for T where
T: Hash,
impl<T> CallHasher for T where
T: Hash,
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more