pub enum GpuTextureFormat {
Show 57 variants R8Unorm, R8Snorm, R8Uint, R8Sint, R16Uint, R16Sint, R16Float, Rg8Unorm, Rg8Snorm, Rg8Uint, Rg8Sint, R32Uint, R32Sint, R32Float, Rg16Uint, Rg16Sint, Rg16Float, Rgba8Unorm, Rgba8UnormSrgb, Rgba8Snorm, Rgba8Uint, Rgba8Sint, Bgra8Unorm, Bgra8UnormSrgb, RgB9E5UFloat, Rgb10a2Unorm, Rg11b10Float, Rg32Uint, Rg32Sint, Rg32Float, Rgba16Uint, Rgba16Sint, Rgba16Float, Rgba32Uint, Rgba32Sint, Rgba32Float, Stencil8, Depth16Unorm, Depth24Plus, Depth24PlusStencil8, Depth32Float, Bc1RgbaUnorm, Bc1RgbaUnormSrgb, Bc2RgbaUnorm, Bc2RgbaUnormSrgb, Bc3RgbaUnorm, Bc3RgbaUnormSrgb, Bc4RUnorm, Bc4RSnorm, Bc5RgUnorm, Bc5RgSnorm, Bc6hRgbUfloat, Bc6HRgbFloat, Bc7RgbaUnorm, Bc7RgbaUnormSrgb, Depth24UnormStencil8, Depth32FloatStencil8,
}

Variants

R8Unorm

R8Snorm

R8Uint

R8Sint

R16Uint

R16Sint

R16Float

Rg8Unorm

Rg8Snorm

Rg8Uint

Rg8Sint

R32Uint

R32Sint

R32Float

Rg16Uint

Rg16Sint

Rg16Float

Rgba8Unorm

Rgba8UnormSrgb

Rgba8Snorm

Rgba8Uint

Rgba8Sint

Bgra8Unorm

Bgra8UnormSrgb

RgB9E5UFloat

Rgb10a2Unorm

Rg11b10Float

Rg32Uint

Rg32Sint

Rg32Float

Rgba16Uint

Rgba16Sint

Rgba16Float

Rgba32Uint

Rgba32Sint

Rgba32Float

Stencil8

Depth16Unorm

Depth24Plus

Depth24PlusStencil8

Depth32Float

Bc1RgbaUnorm

Bc1RgbaUnormSrgb

Bc2RgbaUnorm

Bc2RgbaUnormSrgb

Bc3RgbaUnorm

Bc3RgbaUnormSrgb

Bc4RUnorm

Bc4RSnorm

Bc5RgUnorm

Bc5RgSnorm

Bc6hRgbUfloat

Bc6HRgbFloat

Bc7RgbaUnorm

Bc7RgbaUnormSrgb

Depth24UnormStencil8

Depth32FloatStencil8

Trait Implementations

Deserialize this value from the given Serde deserializer. Read more

The type returned in the event of a conversion error.

Performs the conversion.

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

Performs the conversion.

Performs the conversion.

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.