Struct StandardPbrMaterial
pub struct StandardPbrMaterial(/* private fields */);Expand description
Contains property types for the Kanzi Physically Based Rendering (PBR) shaders. Use the PBR materials to create assets that behave realistically in many lighting conditions. These properties represent physical properties on a material and are therefore intuitive when being set. Many properties have a standard and detail variation that you can use to apply material properties in layers. The detail maps use DetailTextureTilingProperty and DetailTextureOffsetProperty to tile differently than the standard map and are typically used to provide fine detail. The Occlusion, Metallic, and Roughness maps are designed to read from different color channels. Therefore it is possible to provide a single texture for all three.
§Since
Kanzi 3.9.0
Trait Implementations§
§impl Clone for StandardPbrMaterial
impl Clone for StandardPbrMaterial
§fn clone(&self) -> StandardPbrMaterial
fn clone(&self) -> StandardPbrMaterial
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 more§impl MetaclassConstraint for StandardPbrMaterial
impl MetaclassConstraint for StandardPbrMaterial
§fn get_static_metaclass() -> &'static Metaclass
fn get_static_metaclass() -> &'static Metaclass
Gets metaclass associated with a given type.
Auto Trait Implementations§
impl Freeze for StandardPbrMaterial
impl RefUnwindSafe for StandardPbrMaterial
impl Send for StandardPbrMaterial
impl Sync for StandardPbrMaterial
impl Unpin for StandardPbrMaterial
impl UnwindSafe for StandardPbrMaterial
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