pub struct NormalMapConversionSettings { /* private fields */ }
Expand description
Settings for normal map generation.
Implementations§
Source§impl NormalMapConversionSettings
impl NormalMapConversionSettings
pub fn new() -> Self
Sourcepub fn kernel_filter(self, filter: KernelFilter) -> Self
pub fn kernel_filter(self, filter: KernelFilter) -> Self
Sets the normal map generation kernel.
Sourcepub fn height_conversion_method(self, method: HeightConversionMethod) -> Self
pub fn height_conversion_method(self, method: HeightConversionMethod) -> Self
Sets the method of determining height from input image.
Sourcepub fn alpha_result(self, result: NormalAlphaResult) -> Self
pub fn alpha_result(self, result: NormalAlphaResult) -> Self
Sets the output image alpha channel handling.
Trait Implementations§
Source§impl Clone for NormalMapConversionSettings
impl Clone for NormalMapConversionSettings
Source§fn clone(&self) -> NormalMapConversionSettings
fn clone(&self) -> NormalMapConversionSettings
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 NormalMapConversionSettings
impl Debug for NormalMapConversionSettings
impl StructuralPartialEq for NormalMapConversionSettings
Auto Trait Implementations§
impl Freeze for NormalMapConversionSettings
impl RefUnwindSafe for NormalMapConversionSettings
impl Send for NormalMapConversionSettings
impl Sync for NormalMapConversionSettings
impl Unpin for NormalMapConversionSettings
impl UnwindSafe for NormalMapConversionSettings
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