#[repr(C, packed(1))]pub struct tagSVTFImageFormatInfo {
pub lpName: *mut vlChar,
pub uiBitsPerPixel: vlUInt,
pub uiBytesPerPixel: vlUInt,
pub uiRedBitsPerPixel: vlUInt,
pub uiGreenBitsPerPixel: vlUInt,
pub uiBlueBitsPerPixel: vlUInt,
pub uiAlphaBitsPerPixel: vlUInt,
pub bIsCompressed: vlBool,
pub bIsSupported: vlBool,
}Fields§
§lpName: *mut vlChar!< Enumeration text equivalent.
uiBitsPerPixel: vlUInt!< Format bits per pixel.
uiBytesPerPixel: vlUInt!< Format bytes per pixel.
uiRedBitsPerPixel: vlUInt!< Format red bits per pixel. 0 for N/A.
uiGreenBitsPerPixel: vlUInt!< Format green bits per pixel. 0 for N/A.
uiBlueBitsPerPixel: vlUInt!< Format blue bits per pixel. 0 for N/A.
uiAlphaBitsPerPixel: vlUInt!< Format alpha bits per pixel. 0 for N/A.
bIsCompressed: vlBool!< Format is compressed (DXT).
bIsSupported: vlBool!< Format is supported by VTFLib.
Trait Implementations§
Source§impl Clone for tagSVTFImageFormatInfo
impl Clone for tagSVTFImageFormatInfo
Source§fn clone(&self) -> tagSVTFImageFormatInfo
fn clone(&self) -> tagSVTFImageFormatInfo
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for tagSVTFImageFormatInfo
impl Debug for tagSVTFImageFormatInfo
impl Copy for tagSVTFImageFormatInfo
Auto Trait Implementations§
impl Freeze for tagSVTFImageFormatInfo
impl RefUnwindSafe for tagSVTFImageFormatInfo
impl !Send for tagSVTFImageFormatInfo
impl !Sync for tagSVTFImageFormatInfo
impl Unpin for tagSVTFImageFormatInfo
impl UnwindSafe for tagSVTFImageFormatInfo
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more