Struct physis::mtrl::DawntrailColorTableRow
source · #[repr(C)]pub struct DawntrailColorTableRow {Show 24 fields
pub diffuse_color: [f32; 3],
pub unknown1: f32,
pub specular_color: [f32; 3],
pub unknown2: f32,
pub emissive_color: [f32; 3],
pub unknown3: f32,
pub sheen_rate: f32,
pub sheen_tint: f32,
pub sheen_aperture: f32,
pub unknown4: f32,
pub roughness: f32,
pub unknown5: f32,
pub metalness: f32,
pub anisotropy: f32,
pub unknown6: f32,
pub sphere_mask: f32,
pub unknown7: f32,
pub unknown8: f32,
pub shader_index: u16,
pub tile_set: u16,
pub tile_alpha: f32,
pub sphere_index: u16,
pub material_repeat: [f32; 2],
pub material_skew: [f32; 2],
}
Fields§
§diffuse_color: [f32; 3]
§unknown1: f32
§specular_color: [f32; 3]
§unknown2: f32
§emissive_color: [f32; 3]
§unknown3: f32
§sheen_rate: f32
§sheen_tint: f32
§sheen_aperture: f32
§unknown4: f32
§roughness: f32
§unknown5: f32
§metalness: f32
§anisotropy: f32
§unknown6: f32
§sphere_mask: f32
§unknown7: f32
§unknown8: f32
§shader_index: u16
§tile_set: u16
§tile_alpha: f32
§sphere_index: u16
§material_repeat: [f32; 2]
§material_skew: [f32; 2]
Trait Implementations§
source§impl BinRead for DawntrailColorTableRow
impl BinRead for DawntrailColorTableRow
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>
§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 more§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 more§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 more§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 more§fn read_le_args<R>(reader: &mut R, args: Self::Args<'_>) -> Result<Self, Error>
fn read_le_args<R>(reader: &mut R, args: Self::Args<'_>) -> Result<Self, Error>
Read
Self
from the reader, assuming little-endian byte order, using
the given arguments. Read moresource§impl Clone for DawntrailColorTableRow
impl Clone for DawntrailColorTableRow
source§fn clone(&self) -> DawntrailColorTableRow
fn clone(&self) -> DawntrailColorTableRow
Returns a copy 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 DawntrailColorTableRow
impl Debug for DawntrailColorTableRow
impl Copy for DawntrailColorTableRow
Auto Trait Implementations§
impl Freeze for DawntrailColorTableRow
impl RefUnwindSafe for DawntrailColorTableRow
impl Send for DawntrailColorTableRow
impl Sync for DawntrailColorTableRow
impl Unpin for DawntrailColorTableRow
impl UnwindSafe for DawntrailColorTableRow
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
source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)