#[repr(i32)]pub enum MaterialMap {
Albedo = 0,
Metalness = 1,
Normal = 2,
Roughness = 3,
Occlusion = 4,
Emission = 5,
Height = 6,
Cubemap = 7,
Irradiance = 8,
Prefilter = 9,
BRDF = 10,
}Expand description
Material map index
Variants§
Albedo = 0
Albedo material (same as: MATERIAL_MAP_DIFFUSE)
Metalness = 1
Metalness material (same as: MATERIAL_MAP_SPECULAR)
Normal = 2
Normal material
Roughness = 3
Roughness material
Occlusion = 4
Ambient occlusion material
Emission = 5
Emission material
Height = 6
Heightmap material
Cubemap = 7
Cubemap material (NOTE: Uses GL_TEXTURE_CUBE_MAP)
Irradiance = 8
Irradiance material (NOTE: Uses GL_TEXTURE_CUBE_MAP)
Prefilter = 9
Prefilter material (NOTE: Uses GL_TEXTURE_CUBE_MAP)
BRDF = 10
BRDF material
Trait Implementations§
Source§impl Clone for MaterialMap
impl Clone for MaterialMap
Source§fn clone(&self) -> MaterialMap
fn clone(&self) -> MaterialMap
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 MaterialMap
impl Debug for MaterialMap
Source§impl Hash for MaterialMap
impl Hash for MaterialMap
Source§impl PartialEq for MaterialMap
impl PartialEq for MaterialMap
impl Copy for MaterialMap
impl Eq for MaterialMap
impl StructuralPartialEq for MaterialMap
Auto Trait Implementations§
impl Freeze for MaterialMap
impl RefUnwindSafe for MaterialMap
impl Send for MaterialMap
impl Sync for MaterialMap
impl Unpin for MaterialMap
impl UnwindSafe for MaterialMap
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