Modules§
- header
- Functionality for reading, parsing, and writing DDS headers.
Structs§
- BiPlanar
Pixel Info - See
PixelInfo::BiPlanar
. - Block
Pixel Info - See
PixelInfo::Block
. - Color
Format - A color format with a specific number of channels and precision.
- Cube
MapFaces - A bitset representing which faces of a cube map are present.
- Decode
Options - Decoder
- A decoder for reading the pixel data of a DDS file.
- Encode
Options - Encoder
- An encoder for DDS files.
- Encoding
Support - Describes the extent of support for encoding a format.
- Image
View - A borrowed slice of image data.
- Image
View Mut - A borrowed mutable slice of image data.
- Progress
- A progress reporter used by
crate::Encoder
andcrate::encode()
. - Rect
- Size
- Split
Surface - Surface
Descriptor - Texture
- A 2D texture with mipmaps (if any).
- Texture
Array - An array of textures.
- Volume
- A 3D texture with mipmaps (if any).
- Volume
Descriptor - Write
Options
Enums§
- Channels
- The number and semantics of the color channels in a surface.
- Compression
Quality - The level of trade-off between compression quality and speed.
- Data
Layout - The type and layout of the surfaces/volumes in the data section of a DDS file.
- Decoding
Error - Dithering
- Encoding
Error - Error
Metric - Format
- The format of the pixel data of a surface.
- Format
Error - Header
Error - Layout
Error - Pixel
Info - This describes the number of bits per pixel and the layout of pixels within a surface.
- Precision
- The precision/bit depth of the values in a surface.
- Resize
Filter - Texture
Array Kind
Traits§
Functions§
- decode
- Decodes the image data of a surface from the given reader and writes it to the given output buffer.
- decode_
rect - Decodes a rectangle of the image data of a surface from the given reader and writes it to the given output buffer.
- encode