|
VTFLib
A C and C++ API that, with a few simple functions, can open and save .vtf and .vmt files.
|
VTF Creation options struct. More...
#include <VTFFile.h>
Data Fields | |
| vlUInt | uiVersion [2] |
| Output image version. | |
| VTFImageFormat | ImageFormat |
| Output image output storage format. | |
| vlUInt | uiFlags |
| Output image header flags. | |
| vlUInt | uiStartFrame |
| Output image start frame. | |
| vlSingle | sBumpScale |
| Output image bump scale. | |
| vlSingle | sReflectivity [3] |
| Output image reflectivity. (Only used if bReflectivity is false.) | |
| vlBool | bMipmaps |
| Generate MIPmaps. (Space is always allocated.) | |
| VTFMipmapFilter | MipmapFilter |
| MIP map re-size filter. | |
| VTFSharpenFilter | MipmapSharpenFilter |
| MIP map sharpen filter. | |
| vlBool | bThumbnail |
| Generate thumbnail image. | |
| vlBool | bReflectivity |
| Compute image reflectivity. | |
| vlBool | bResize |
| Resize the input image. | |
| VTFResizeMethod | ResizeMethod |
| New size compution method. | |
| VTFMipmapFilter | ResizeFilter |
| Re-size filter. | |
| VTFSharpenFilter | ResizeSharpenFilter |
| Sharpen filter. | |
| vlUInt | uiResizeWidth |
| New width after re-size if method is RESIZE_SET. | |
| vlUInt | uiResizeHeight |
| New height after re-size if method is RESIZE_SET. | |
| vlBool | bResizeClamp |
| Clamp re-size size. | |
| vlUInt | uiResizeClampWidth |
| Maximum width to re-size to. | |
| vlUInt | uiResizeClampHeight |
| Maximum height to re-size to. | |
| vlBool | bGammaCorrection |
| Gamma correct input image. | |
| vlSingle | sGammaCorrection |
| Gamma correction to apply. | |
| vlBool | bNormalMap |
| Convert input image to a normal map. | |
| VTFKernelFilter | KernelFilter |
| Normal map generation kernel. | |
| VTFHeightConversionMethod | HeightConversionMethod |
| Method or determining height from input image during normal map creation. | |
| VTFNormalAlphaResult | NormalAlphaResult |
| How to handle output image alpha channel, post normal map creation. | |
| vlByte | bNormalMinimumZ |
| Minimum normal Z value. | |
| vlSingle | sNormalScale |
| Normal map scale. | |
| vlBool | bNormalWrap |
| Wrap the normal map. | |
| vlBool | bNormalInvertX |
| Invert the normal X component. | |
| vlBool | bNormalInvertY |
| Invert the normal Y component. | |
| vlBool | bNormalInvertZ |
| Invert the normal Z component. | |
| vlBool | bSphereMap |
| Generate a sphere map for six faced environment maps. | |
VTF Creation options struct.
The SVTFCreateOptions struct defines options and settings to be used when creating VTF images with methods such as CVTFFile::Create().
1.8.6