pub struct NiSourceTexture {
pub base: NiObjectNET,
pub use_external: u8,
pub file_name: NiString,
pub unknown_link_ref: Option<i32>,
pub pixel_data_ref: Option<i32>,
pub pixel_layout: PixelLayout,
pub mipmap_format: MipMapFormat,
pub alpha_format: AlphaFormat,
pub is_static: u8,
pub direct_render: bool,
}Fields§
§base: NiObjectNET§use_external: u8§file_name: NiString§unknown_link_ref: Option<i32>§pixel_data_ref: Option<i32>§pixel_layout: PixelLayout§mipmap_format: MipMapFormat§alpha_format: AlphaFormat§is_static: u8§direct_render: boolImplementations§
Trait Implementations§
Source§impl BinRead for NiSourceTexture
impl BinRead for NiSourceTexture
Source§fn read_options<R: Read + Seek>(
__binrw_generated_var_reader: &mut R,
__binrw_generated_var_endian: Endian,
__binrw_generated_var_arguments: Self::Args<'_>,
) -> BinResult<Self>
fn read_options<R: Read + Seek>( __binrw_generated_var_reader: &mut R, __binrw_generated_var_endian: Endian, __binrw_generated_var_arguments: Self::Args<'_>, ) -> BinResult<Self>
Source§fn read_be<R>(reader: &mut R) -> Result<Self, Error>
fn read_be<R>(reader: &mut R) -> Result<Self, Error>
Read
Self from the reader using default arguments and assuming
big-endian byte order. Read moreSource§fn read_le<R>(reader: &mut R) -> Result<Self, Error>
fn read_le<R>(reader: &mut R) -> Result<Self, Error>
Read
Self from the reader using default arguments and assuming
little-endian byte order. Read moreSource§fn read_ne<R>(reader: &mut R) -> Result<Self, Error>
fn read_ne<R>(reader: &mut R) -> Result<Self, Error>
Read
T from the reader assuming native-endian byte order. Read moreSource§fn read_be_args<R>(reader: &mut R, args: Self::Args<'_>) -> Result<Self, Error>
fn read_be_args<R>(reader: &mut R, args: Self::Args<'_>) -> Result<Self, Error>
Read
Self from the reader, assuming big-endian byte order, using the
given arguments. Read moreSource§impl Debug for NiSourceTexture
impl Debug for NiSourceTexture
Source§impl Deref for NiSourceTexture
impl Deref for NiSourceTexture
Source§impl PartialEq for NiSourceTexture
impl PartialEq for NiSourceTexture
impl StructuralPartialEq for NiSourceTexture
Auto Trait Implementations§
impl Freeze for NiSourceTexture
impl RefUnwindSafe for NiSourceTexture
impl Send for NiSourceTexture
impl Sync for NiSourceTexture
impl Unpin for NiSourceTexture
impl UnwindSafe for NiSourceTexture
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