source_vtf/lib.rs
1#![forbid(unsafe_code)]
2
3//! Pure Rust access to Valve Texture Format files.
4//!
5//! The reader supports PC VTF 7.0 through 7.5. It keeps the original bytes in
6//! place and returns borrowed views for thumbnails, resources, and individual
7//! mip/frame/face/depth subresources.
8
9mod cursor;
10mod error;
11mod flags;
12mod format;
13mod header;
14mod resource;
15mod subresource;
16mod vtf;
17
18pub use error::{Error, Result, Section};
19pub use flags::TextureFlags;
20pub use format::ImageFormat;
21pub use header::{Header, Version};
22pub use resource::{Resource, ResourceFlags, ResourceLocation, ResourceTag};
23pub use subresource::RawImage;
24pub use vtf::Vtf;