Struct nif::blocks::TexDesc [−][src]
pub struct TexDesc { pub source_ref: i32, pub clamp_mode: TexClampMode, pub filter_mode: TexFilterMode, pub uv_set: u32, pub has_texture_transform: bool, pub translation: Option<TexCoord>, pub tiling: Option<TexCoord>, pub w_rotation: Option<f32>, pub transform_type: Option<u32>, pub center_offset: Option<TexCoord>, }
Fields
source_ref: i32
clamp_mode: TexClampMode
filter_mode: TexFilterMode
uv_set: u32
has_texture_transform: bool
translation: Option<TexCoord>
tiling: Option<TexCoord>
w_rotation: Option<f32>
transform_type: Option<u32>
center_offset: Option<TexCoord>
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