pub struct CalcTangentSpace {
pub enable: bool,
pub max_smoothing_angle: f32,
pub texture_channel: i32,
}
Expand description
Arguments for calc_tangent_space
post-process step.
Fields§
§enable: bool
Whether to enable the step. Default: false
max_smoothing_angle: f32
Maximum angle between two vertex tangents used for smoothing. Default: 45.0
texture_channel: i32
Source UV channel for tangent space computation. Default: 0
Trait Implementations§
Source§impl Default for CalcTangentSpace
impl Default for CalcTangentSpace
Source§fn default() -> CalcTangentSpace
fn default() -> CalcTangentSpace
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for CalcTangentSpace
impl RefUnwindSafe for CalcTangentSpace
impl Send for CalcTangentSpace
impl Sync for CalcTangentSpace
impl Unpin for CalcTangentSpace
impl UnwindSafe for CalcTangentSpace
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