pub struct Head {
pub flags: u32,
pub width: u32,
pub height: u32,
pub depth: u32,
pub array_layers: u32,
pub mipmaps: u32,
pub texture_uuid: [u8; 16],
pub pixel_format: (u32, u32),
}Expand description
HEAD metadata, parsed at the byte offsets confirmed from the iLEAPP reference.
Fields§
§flags: u32HEAD flags word (offset 0x00).
width: u32Texture width in pixels (offset 0x18).
height: u32Texture height in pixels (offset 0x1C).
depth: u32Texture depth (offset 0x20).
array_layers: u32Array layer count (offset 0x28).
mipmaps: u32Mipmap level count (offset 0x2C).
texture_uuid: [u8; 16]16-byte texture UUID (offset 0x3C).
pixel_format: (u32, u32)The pixel-format discriminator pair (offsets 0x4C, 0x50).
Trait Implementations§
impl Eq for Head
impl StructuralPartialEq for Head
Auto Trait Implementations§
impl Freeze for Head
impl RefUnwindSafe for Head
impl Send for Head
impl Sync for Head
impl Unpin for Head
impl UnsafeUnpin for Head
impl UnwindSafe for Head
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