pub struct NormalMapOptions {
pub format: NormalMapFormat,
pub invert_y: bool,
pub tangent_space: bool,
pub flip_y: bool,
pub flip_x: bool,
pub encoding: NormalChannelEncoding,
}Expand description
Options for normal map extraction
Fields§
§format: NormalMapFormatOutput format
invert_y: boolWhether to invert Y axis
tangent_space: boolWhether to use tangent space normals (vs object space)
flip_y: boolWhether to flip the Y axis in the image
flip_x: boolWhether to flip the X axis in the image
encoding: NormalChannelEncodingNormal map channel encoding mode
Trait Implementations§
Source§impl Clone for NormalMapOptions
impl Clone for NormalMapOptions
Source§fn clone(&self) -> NormalMapOptions
fn clone(&self) -> NormalMapOptions
Returns a duplicate 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 NormalMapOptions
impl Debug for NormalMapOptions
Auto Trait Implementations§
impl Freeze for NormalMapOptions
impl RefUnwindSafe for NormalMapOptions
impl Send for NormalMapOptions
impl Sync for NormalMapOptions
impl Unpin for NormalMapOptions
impl UnwindSafe for NormalMapOptions
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