Enum sierra::Format

source ·
pub enum Format {
Show 100 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§

§

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

Implementations§

Trait Implementations§

Samples for this attachment. None if unspecified.
Format for this attachment.
Returns if this attachment is equivalent to image view. Read more
Maximum extend of the image view that can be make for this attachment.
Returns image view with specified usage and extent for this attachment.
Returns a copy of the value. Read more
Performs copy-assignment from source. Read more
Formats the value using the given formatter. Read more
Feeds this value into the given Hasher. Read more
Feeds a slice of this type into the given Hasher. Read more
This method tests for self and other values to be equal, and is used by ==.
This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more
Checks if this value is equivalent to the given key. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning. Read more
Uses borrowed data to replace owned data, usually by cloning. Read more
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.