SVTFImageFormatInfo

Type Alias SVTFImageFormatInfo 

Source
pub type SVTFImageFormatInfo = tagSVTFImageFormatInfo;

Aliased Type§

#[repr(C, packed(1))]
pub struct SVTFImageFormatInfo { pub lpName: *mut i8, pub uiBitsPerPixel: u32, pub uiBytesPerPixel: u32, pub uiRedBitsPerPixel: u32, pub uiGreenBitsPerPixel: u32, pub uiBlueBitsPerPixel: u32, pub uiAlphaBitsPerPixel: u32, pub bIsCompressed: u8, pub bIsSupported: u8, }

Fields§

§lpName: *mut i8

!< Enumeration text equivalent.

§uiBitsPerPixel: u32

!< Format bits per pixel.

§uiBytesPerPixel: u32

!< Format bytes per pixel.

§uiRedBitsPerPixel: u32

!< Format red bits per pixel. 0 for N/A.

§uiGreenBitsPerPixel: u32

!< Format green bits per pixel. 0 for N/A.

§uiBlueBitsPerPixel: u32

!< Format blue bits per pixel. 0 for N/A.

§uiAlphaBitsPerPixel: u32

!< Format alpha bits per pixel. 0 for N/A.

§bIsCompressed: u8

!< Format is compressed (DXT).

§bIsSupported: u8

!< Format is supported by VTFLib.