Module libktx_rs::sources [−][src]
Expand description
crate::texture::TextureSource
implementations for reading (or creating) Texture
s from.
Structs
Texture
creation info common to KTX1 and KTX2.
Texture
creation info for KTX1 textures (crate::texture::Ktx1
).
This is also a TextureSource
, which creates a new KTX1 texture according to self
.
Texture
creation info for KTX2 textures (crate::texture::Ktx2
).
This is also a TextureSource
, which creates a new KTX2 texture according to self
.
TextureSource
for reading a texture from a RustKtxStream
.