Struct nif::blocks::NiSourceTexture [−][src]
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: bool
Implementations
Trait Implementations
The type of arguments needed to be supplied in order to read this type, usually a tuple. Read more
fn read_options<R: Read + Seek>(
__binread_generated_var_reader: &mut R,
__binread_generated_var_options: &ReadOptions,
__binread_generated_var_arguments: Self::Args
) -> BinResult<Self>
fn read_options<R: Read + Seek>(
__binread_generated_var_reader: &mut R,
__binread_generated_var_options: &ReadOptions,
__binread_generated_var_arguments: Self::Args
) -> BinResult<Self>
Read the type from the reader
Read the type from the reader while assuming no arguments have been passed Read more
Read the type from the reader using the specified arguments
fn after_parse<R>(
&mut self,
&mut R,
&ReadOptions,
Self::Args
) -> Result<(), Error> where
R: Read + Seek,
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.