Crate gli_rs

Source

Re-exports§

pub use self::extent::Extent1d;
pub use self::extent::Extent2d;
pub use self::extent::Extent3d;

Modules§

dx
extent
gl
sampler
target

Structs§

Error
The error type throughout this crate.
Format
Texture data format.
GliImage
GliImage representation for a single texture level.
Swizzle
Represent the source of a channel.
Texture1D
1d texture
Texture1DArray
1d array texture
Texture2D
2d texture
Texture2DArray
2d array texture
Texture3D
3d texture
TextureCube
Cube map texture
TextureCubeArray
Cube map array texture

Enums§

TexFormatType

Traits§

GliTexture

Functions§

load
Loads a texture storage_linear from file.
load_dds
Loads a texture storage_linear from DDS file.
load_from_memory
Construct a GliTexture by sharing another texture data in memory.
load_kmg
Loads a texture storage_linear from KMG (Khronos Image) file.
load_ktx
Loads a texture storage_linear from KTX file.
save
Save a texture storage_linear file.
save_dds
Save a texture storage_linear to a DDS file.
save_kmg
Save a texture storage_linear to a KMG (Khronos Image) file.
save_ktx
Save a texture storage_linear to a KTX file.

Type Aliases§

Result
A type alias for handling errors throughout this crate.
Swizzles