#[repr(C, packed(1))]pub struct tagSVTFCreateOptions {Show 33 fields
pub uiVersion: [vlUInt; 2],
pub ImageFormat: VTFImageFormat,
pub uiFlags: vlUInt,
pub uiStartFrame: vlUInt,
pub sBumpScale: vlSingle,
pub sReflectivity: [vlSingle; 3],
pub bMipmaps: vlBool,
pub MipmapFilter: VTFMipmapFilter,
pub MipmapSharpenFilter: VTFSharpenFilter,
pub bThumbnail: vlBool,
pub bReflectivity: vlBool,
pub bResize: vlBool,
pub ResizeMethod: VTFResizeMethod,
pub ResizeFilter: VTFMipmapFilter,
pub ResizeSharpenFilter: VTFSharpenFilter,
pub uiResizeWidth: vlUInt,
pub uiResizeHeight: vlUInt,
pub bResizeClamp: vlBool,
pub uiResizeClampWidth: vlUInt,
pub uiResizeClampHeight: vlUInt,
pub bGammaCorrection: vlBool,
pub sGammaCorrection: vlSingle,
pub bNormalMap: vlBool,
pub KernelFilter: VTFKernelFilter,
pub HeightConversionMethod: VTFHeightConversionMethod,
pub NormalAlphaResult: VTFNormalAlphaResult,
pub bNormalMinimumZ: vlByte,
pub sNormalScale: vlSingle,
pub bNormalWrap: vlBool,
pub bNormalInvertX: vlBool,
pub bNormalInvertY: vlBool,
pub bNormalInvertZ: vlBool,
pub bSphereMap: vlBool,
}Fields§
§uiVersion: [vlUInt; 2]!< Output image version.
ImageFormat: VTFImageFormat!< Output image output storage format.
uiFlags: vlUInt!< Output image header flags.
uiStartFrame: vlUInt!< Output image start frame.
sBumpScale: vlSingle!< Output image bump scale.
sReflectivity: [vlSingle; 3]!< Output image reflectivity. (Only used if bReflectivity is false.)
bMipmaps: vlBool!< Generate MIPmaps. (Space is always allocated.)
MipmapFilter: VTFMipmapFilter!< MIP map re-size filter.
MipmapSharpenFilter: VTFSharpenFilter!< MIP map sharpen filter.
bThumbnail: vlBool!< Generate thumbnail image.
bReflectivity: vlBool!< Compute image reflectivity.
bResize: vlBool!< Resize the input image.
ResizeMethod: VTFResizeMethod!< New size compution method.
ResizeFilter: VTFMipmapFilter!< Re-size filter.
ResizeSharpenFilter: VTFSharpenFilter!< Sharpen filter.
uiResizeWidth: vlUInt!< New width after re-size if method is RESIZE_SET.
uiResizeHeight: vlUInt!< New height after re-size if method is RESIZE_SET.
bResizeClamp: vlBool!< Clamp re-size size.
uiResizeClampWidth: vlUInt!< Maximum width to re-size to.
uiResizeClampHeight: vlUInt!< Maximum height to re-size to.
bGammaCorrection: vlBool!< Gamma correct input image.
sGammaCorrection: vlSingle!< Gamma correction to apply.
bNormalMap: vlBool!< Convert input image to a normal map.
KernelFilter: VTFKernelFilter!< Normal map generation kernel.
HeightConversionMethod: VTFHeightConversionMethod!< Method or determining height from input image during normal map creation.
NormalAlphaResult: VTFNormalAlphaResult!< How to handle output image alpha channel, post normal map creation.
bNormalMinimumZ: vlByte!< Minimum normal Z value.
sNormalScale: vlSingle!< Normal map scale.
bNormalWrap: vlBool!< Wrap the normal map.
bNormalInvertX: vlBool!< Invert the normal X component.
bNormalInvertY: vlBool!< Invert the normal Y component.
bNormalInvertZ: vlBool!< Invert the normal Z component.
bSphereMap: vlBool!< Generate a sphere map for six faced environment maps.
Trait Implementations§
Source§impl Clone for tagSVTFCreateOptions
impl Clone for tagSVTFCreateOptions
Source§fn clone(&self) -> tagSVTFCreateOptions
fn clone(&self) -> tagSVTFCreateOptions
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more