|
VTFLib
A C and C++ API that, with a few simple functions, can open and save .vtf and .vmt files.
|
VTFHeader_75 struct. More...
#include <VTFFormat.h>
Additional Inherited Members | |
Data Fields inherited from SVTFHeader_73 | |
| vlUInt | ResourceCount |
| Number of image resources. | |
Data Fields inherited from SVTFHeader_72 | |
| vlUShort | Depth |
| Depth of the largest image. | |
Data Fields inherited from SVTFHeader_70 | |
| vlUShort | Width |
| Width of the largest image. | |
| vlUShort | Height |
| Height of the largest image. | |
| vlUInt | Flags |
| Flags for the image. | |
| vlUShort | Frames |
| Number of frames if animated (1 for no animation) | |
| vlUShort | StartFrame |
| Start frame (always 0) | |
| vlByte | Padding0 [4] |
| Reflectivity padding (16 byte alignment) | |
| vlSingle | Reflectivity [3] |
| Reflectivity vector. | |
| vlByte | Padding1 [4] |
| Reflectivity padding (8 byte packing) | |
| vlSingle | BumpScale |
| Bump map scale. | |
| VTFImageFormat | ImageFormat |
| Image format index. | |
| vlByte | MipCount |
| Number of MIP levels (including the largest image) | |
| VTFImageFormat | LowResImageFormat |
| Image format of the thumbnail image. | |
| vlByte | LowResImageWidth |
| Thumbnail image width. | |
| vlByte | LowResImageHeight |
| Thumbnail image height. | |
Data Fields inherited from SVTFFileHeader | |
| vlChar | TypeString [4] |
| "Magic number" identifier- "VTF\0". | |
| vlUInt | Version [2] |
| Version[0].version1 | |
| vlUInt | HeaderSize |
| Size of the header struct (currently 80 bytes) | |
VTFHeader_75 struct.
The complete header for v7.5 of the VTF file format.
1.8.6