Struct vtflib_sys::tagSVTFCreateOptions [−][src]
#[repr(C, packed)]pub struct tagSVTFCreateOptions {}Show 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]Expand description
!< Output image version.
ImageFormat: VTFImageFormatExpand description
!< Output image output storage format.
uiFlags: vlUIntExpand description
!< Output image header flags.
uiStartFrame: vlUIntExpand description
!< Output image start frame.
sBumpScale: vlSingleExpand description
!< Output image bump scale.
sReflectivity: [vlSingle; 3]Expand description
!< Output image reflectivity. (Only used if bReflectivity is false.)
bMipmaps: vlBoolExpand description
!< Generate MIPmaps. (Space is always allocated.)
MipmapFilter: VTFMipmapFilterExpand description
!< MIP map re-size filter.
MipmapSharpenFilter: VTFSharpenFilterExpand description
!< MIP map sharpen filter.
bThumbnail: vlBoolExpand description
!< Generate thumbnail image.
bReflectivity: vlBoolExpand description
!< Compute image reflectivity.
bResize: vlBoolExpand description
!< Resize the input image.
ResizeMethod: VTFResizeMethodExpand description
!< New size compution method.
ResizeFilter: VTFMipmapFilterExpand description
!< Re-size filter.
ResizeSharpenFilter: VTFSharpenFilterExpand description
!< Sharpen filter.
uiResizeWidth: vlUIntExpand description
!< New width after re-size if method is RESIZE_SET.
uiResizeHeight: vlUIntExpand description
!< New height after re-size if method is RESIZE_SET.
bResizeClamp: vlBoolExpand description
!< Clamp re-size size.
uiResizeClampWidth: vlUIntExpand description
!< Maximum width to re-size to.
uiResizeClampHeight: vlUIntExpand description
!< Maximum height to re-size to.
bGammaCorrection: vlBoolExpand description
!< Gamma correct input image.
sGammaCorrection: vlSingleExpand description
!< Gamma correction to apply.
bNormalMap: vlBoolExpand description
!< Convert input image to a normal map.
KernelFilter: VTFKernelFilterExpand description
!< Normal map generation kernel.
HeightConversionMethod: VTFHeightConversionMethodExpand description
!< Method or determining height from input image during normal map creation.
NormalAlphaResult: VTFNormalAlphaResultExpand description
!< How to handle output image alpha channel, post normal map creation.
bNormalMinimumZ: vlByteExpand description
!< Minimum normal Z value.
sNormalScale: vlSingleExpand description
!< Normal map scale.
bNormalWrap: vlBoolExpand description
!< Wrap the normal map.
bNormalInvertX: vlBoolExpand description
!< Invert the normal X component.
bNormalInvertY: vlBoolExpand description
!< Invert the normal Y component.
bNormalInvertZ: vlBoolExpand description
!< Invert the normal Z component.
bSphereMap: vlBoolExpand description
!< Generate a sphere map for six faced environment maps.
Trait Implementations
impl Clone for tagSVTFCreateOptions[src]
impl Clone for tagSVTFCreateOptions[src]fn clone(&self) -> tagSVTFCreateOptions[src]
fn clone(&self) -> tagSVTFCreateOptions[src]Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)1.0.0[src]Performs copy-assignment from source. Read more
impl Debug for tagSVTFCreateOptions[src]
impl Debug for tagSVTFCreateOptions[src]impl Copy for tagSVTFCreateOptions[src]
Auto Trait Implementations
impl RefUnwindSafe for tagSVTFCreateOptions
impl Send for tagSVTFCreateOptions
impl Sync for tagSVTFCreateOptions
impl Unpin for tagSVTFCreateOptions
impl UnwindSafe for tagSVTFCreateOptions
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]pub fn borrow_mut(&mut self) -> &mut T[src]
pub fn borrow_mut(&mut self) -> &mut T[src]Mutably borrows from an owned value. Read more
impl<T> ToOwned for T where
T: Clone, [src]
impl<T> ToOwned for T where
T: Clone, [src]type Owned = T
type Owned = TThe resulting type after obtaining ownership.
pub fn to_owned(&self) -> T[src]
pub fn to_owned(&self) -> T[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)[src]
pub fn clone_into(&self, target: &mut T)[src]🔬 This is a nightly-only experimental API. (toowned_clone_into)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more