SVTFCreateOptions

Type Alias SVTFCreateOptions 

Source
pub type SVTFCreateOptions = tagSVTFCreateOptions;

Aliased Type§

#[repr(C, packed(1))]
pub struct SVTFCreateOptions {
Show 33 fields pub uiVersion: [u32; 2], pub ImageFormat: i32, pub uiFlags: u32, pub uiStartFrame: u32, pub sBumpScale: f32, pub sReflectivity: [f32; 3], pub bMipmaps: u8, pub MipmapFilter: i32, pub MipmapSharpenFilter: i32, pub bThumbnail: u8, pub bReflectivity: u8, pub bResize: u8, pub ResizeMethod: i32, pub ResizeFilter: i32, pub ResizeSharpenFilter: i32, pub uiResizeWidth: u32, pub uiResizeHeight: u32, pub bResizeClamp: u8, pub uiResizeClampWidth: u32, pub uiResizeClampHeight: u32, pub bGammaCorrection: u8, pub sGammaCorrection: f32, pub bNormalMap: u8, pub KernelFilter: i32, pub HeightConversionMethod: i32, pub NormalAlphaResult: i32, pub bNormalMinimumZ: u8, pub sNormalScale: f32, pub bNormalWrap: u8, pub bNormalInvertX: u8, pub bNormalInvertY: u8, pub bNormalInvertZ: u8, pub bSphereMap: u8,
}

Fields§

§uiVersion: [u32; 2]

!< Output image version.

§ImageFormat: i32

!< Output image output storage format.

§uiFlags: u32

!< Output image header flags.

§uiStartFrame: u32

!< Output image start frame.

§sBumpScale: f32

!< Output image bump scale.

§sReflectivity: [f32; 3]

!< Output image reflectivity. (Only used if bReflectivity is false.)

§bMipmaps: u8

!< Generate MIPmaps. (Space is always allocated.)

§MipmapFilter: i32

!< MIP map re-size filter.

§MipmapSharpenFilter: i32

!< MIP map sharpen filter.

§bThumbnail: u8

!< Generate thumbnail image.

§bReflectivity: u8

!< Compute image reflectivity.

§bResize: u8

!< Resize the input image.

§ResizeMethod: i32

!< New size compution method.

§ResizeFilter: i32

!< Re-size filter.

§ResizeSharpenFilter: i32

!< Sharpen filter.

§uiResizeWidth: u32

!< New width after re-size if method is RESIZE_SET.

§uiResizeHeight: u32

!< New height after re-size if method is RESIZE_SET.

§bResizeClamp: u8

!< Clamp re-size size.

§uiResizeClampWidth: u32

!< Maximum width to re-size to.

§uiResizeClampHeight: u32

!< Maximum height to re-size to.

§bGammaCorrection: u8

!< Gamma correct input image.

§sGammaCorrection: f32

!< Gamma correction to apply.

§bNormalMap: u8

!< Convert input image to a normal map.

§KernelFilter: i32

!< Normal map generation kernel.

§HeightConversionMethod: i32

!< Method or determining height from input image during normal map creation.

§NormalAlphaResult: i32

!< How to handle output image alpha channel, post normal map creation.

§bNormalMinimumZ: u8

!< Minimum normal Z value.

§sNormalScale: f32

!< Normal map scale.

§bNormalWrap: u8

!< Wrap the normal map.

§bNormalInvertX: u8

!< Invert the normal X component.

§bNormalInvertY: u8

!< Invert the normal Y component.

§bNormalInvertZ: u8

!< Invert the normal Z component.

§bSphereMap: u8

!< Generate a sphere map for six faced environment maps.