#[repr(C, packed)]
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

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.