[][src]Module web_glitz::image::format

Provides marker types for various internal image storage formats.

Structs

Alpha
Depth24Stencil8
Depth32FStencil8
DepthComponent16
DepthComponent24
DepthComponent32F
Luminance
LuminanceAlpha
Multisample

Constructs a multisample storage format.

R8
R8I
R8UI
R11F_G11F_B10F
R16F
R16I
R16UI
R32F
R32I
R32UI
RG8
RG8I
RG8UI
RG16F
RG16I
RG16UI
RG32F
RG32I
RG32UI
RGB5_A1
RGB8
RGB8I
RGB8UI
RGB9_E5
RGB10_A2
RGB10_A2UI
RGB16F
RGB16I
RGB16UI
RGB32F
RGB32I
RGB32UI
RGB565
RGBA4
RGBA8
RGBA8I
RGBA8UI
RGBA16F
RGBA16I
RGBA16UI
RGBA32F
RGBA32I
RGBA32UI
SRGB8
SRGB8_ALPHA8
StencilIndex8

Traits

DepthRenderable

Marker trait for formats that can be used as a depth attachment for a [RenderTarget].

DepthStencilRenderable

Marker trait for formats that can be used as a depth-stencil attachment for a [RenderTarget].

Filterable

Marker trait for formats that support linear filtering.

FloatRenderable

Marker trait for formats that can be used as a color attachment for a [RenderTarget] for a color out that outputs floating point values.

FloatSamplable

Marker trait for formats from which a [Sampler] can sample floating point values.

IntegerRenderable

Marker trait for formats that can be used as a color attachment for a [RenderTarget] for a color out that outputs integer values.

IntegerSamplable

Marker trait for formats from which a [Sampler] can sample integer values.

InternalFormat

Trait implemented for types that represent image formats for storing image data in GPU-accessible memory.

Multisamplable

Marker trait for formats that support multisample storage.

PixelPack

Trait implemented for types that represent data for a single pixel that can be packed from an image with a certain InternalFormat.

PixelUnpack

Trait implemented for types that represent data for a single pixel that can be unpacked into an image with a certain InternalFormat.

RenderbufferFormat

Marker trait for formats that can be used as the format for a [Renderbuffer] image.

ShadowSamplable

Marker trait for formats that can be used with a [ShadowSampler].

StencilRenderable

Marker trait for formats that can be used as a stencil attachment for a [RenderTarget].

TextureFormat

Marker trait implemented by image formats that can be used with texture images.

UnsignedIntegerRenderable

Marker trait for formats that can be used as a color attachment for a [RenderTarget] for a color out that outputs unsigned integer values.

UnsignedIntegerSamplable

Marker trait for formats from which a [Sampler] can sample unsigned integer values.