Expand description
Pure Rust access to Valve Texture Format files
Reads PC VTF 7.0 through 7.5 without copying: thumbnails, resources and every mip, frame, face and slice are slices of the original bytes
Structs§
- Header
- RawImage
- One 2D image: a mip of one frame, face and depth slice, or the thumbnail
- Resource
- Resource
Tag - Resource type ID, the low 24 bits of a dictionary entry
- Texture
Flags - Flags stored in the VTF header
- Vtf
- A parsed VTF over borrowed or owned file bytes
Enums§
- Error
- Image
Format - Image formats, numbered as in VTF 7.5
- Resource
Location - Version