Module libktx_rs::sources[][src]

Expand description

crate::texture::TextureSource implementations for reading (or creating) Textures from.

Structs

CommonCreateInfo

Texture creation info common to KTX1 and KTX2.

Ktx1CreateInfo

Texture creation info for KTX1 textures (crate::texture::Ktx1).
This is also a TextureSource, which creates a new KTX1 texture according to self.

Ktx2CreateInfo

Texture creation info for KTX2 textures (crate::texture::Ktx2).
This is also a TextureSource, which creates a new KTX2 texture according to self.

StreamSource

TextureSource for reading a texture from a RustKtxStream.