[−][src]Crate gli_rs
Modules
inner |
Structs
Error | An error that can occur. |
Format | Texture data format. |
GliImage | GliImage representation for a single texture level. |
Swizzle | Represent the source of a channel. |
Target | |
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 |
Traits
GliTexture |
Functions
load | Loads a texture storage_linear from file. |
load_dds | Loads a texture storage_linear from DDS file. |
load_dds_from_bytes | Loads a texture storage_linear from DDS memory. |
load_from_bytes | Loads a texture(DDS, KTX or KMG) storage_linear from memory. |
load_kmg | Loads a texture storage_linear from KMG (Khronos Image) file. |
load_kmg_from_bytes | Loads a texture storage_linear from KMG (Khronos Image) memory. |
load_ktx | Loads a texture storage_linear from KTX file. |
load_ktx_from_bytes | Loads a texture storage_linear from KTX memory. |
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 Definitions
Extent1d | |
Extent2d | |
Extent3d | |
Result | A type alias for handling errors throughout gli-rs. |
Swizzles |