Struct nobject_rs::NonColorCorrectedMap
source · pub struct NonColorCorrectedMap {
pub file_name: String,
pub blend_u: Option<bool>,
pub blend_v: Option<bool>,
pub clamp: Option<bool>,
pub imf_chan: Option<String>,
pub texture_range: Option<(f32, f32)>,
pub offset: Option<(f32, Option<f32>, Option<f32>)>,
pub scale: Option<(f32, Option<f32>, Option<f32>)>,
pub turbulance: Option<(f32, Option<f32>, Option<f32>)>,
pub texture_res: Option<i32>,
}
Expand description
Common settings for texture maps which can not be color corrected.
Fields§
§file_name: String
The name of the texture map file.
blend_u: Option<bool>
Enable horizontal texture blending
blend_v: Option<bool>
Enable vertical texture blending
clamp: Option<bool>
Enables clamping.
imf_chan: Option<String>
Specifies the channel used to create a scalar or bump texture.
texture_range: Option<(f32, f32)>
Specifies the range over which scalar or color texture
values may vary. Corresponds to the -mm
option.
offset: Option<(f32, Option<f32>, Option<f32>)>
Offset the position in the texture map.
scale: Option<(f32, Option<f32>, Option<f32>)>
Scale the size of the texture pattern.
turbulance: Option<(f32, Option<f32>, Option<f32>)>
A turbulance value to apply to the texture.
texture_res: Option<i32>
Allows the specification of a specific resolution to use when an image is used as a texture.
Trait Implementations§
source§impl Clone for NonColorCorrectedMap
impl Clone for NonColorCorrectedMap
source§fn clone(&self) -> NonColorCorrectedMap
fn clone(&self) -> NonColorCorrectedMap
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 NonColorCorrectedMap
impl Debug for NonColorCorrectedMap
source§impl Default for NonColorCorrectedMap
impl Default for NonColorCorrectedMap
source§fn default() -> NonColorCorrectedMap
fn default() -> NonColorCorrectedMap
Returns the “default value” for a type. Read more
source§impl PartialEq for NonColorCorrectedMap
impl PartialEq for NonColorCorrectedMap
source§fn eq(&self, other: &NonColorCorrectedMap) -> bool
fn eq(&self, other: &NonColorCorrectedMap) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for NonColorCorrectedMap
Auto Trait Implementations§
impl Freeze for NonColorCorrectedMap
impl RefUnwindSafe for NonColorCorrectedMap
impl Send for NonColorCorrectedMap
impl Sync for NonColorCorrectedMap
impl Unpin for NonColorCorrectedMap
impl UnwindSafe for NonColorCorrectedMap
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