Enum raylib_ffi::enums::MaterialMapIndex
source · #[repr(C)]
pub enum MaterialMapIndex {
MATERIALMAPALBEDO,
MATERIALMAPMETALNESS,
MATERIALMAPNORMAL,
MATERIALMAPROUGHNESS,
MATERIALMAPOCCLUSION,
MATERIALMAPEMISSION,
MATERIALMAPHEIGHT,
MATERIALMAPCUBEMAP,
MATERIALMAPIRRADIANCE,
MATERIALMAPPREFILTER,
MATERIALMAPBRDF,
}Expand description
Material map index
Variants§
MATERIALMAPALBEDO
Albedo material (same as: MATERIAL_MAP_DIFFUSE)
MATERIALMAPMETALNESS
Metalness material (same as: MATERIAL_MAP_SPECULAR)
MATERIALMAPNORMAL
Normal material
MATERIALMAPROUGHNESS
Roughness material
MATERIALMAPOCCLUSION
Ambient occlusion material
MATERIALMAPEMISSION
Emission material
MATERIALMAPHEIGHT
Heightmap material
MATERIALMAPCUBEMAP
Cubemap material (NOTE: Uses GL_TEXTURE_CUBE_MAP)
MATERIALMAPIRRADIANCE
Irradiance material (NOTE: Uses GL_TEXTURE_CUBE_MAP)
MATERIALMAPPREFILTER
Prefilter material (NOTE: Uses GL_TEXTURE_CUBE_MAP)
MATERIALMAPBRDF
Brdf material
Trait Implementations§
source§impl Clone for MaterialMapIndex
impl Clone for MaterialMapIndex
source§fn clone(&self) -> MaterialMapIndex
fn clone(&self) -> MaterialMapIndex
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 MaterialMapIndex
impl Debug for MaterialMapIndex
source§impl Hash for MaterialMapIndex
impl Hash for MaterialMapIndex
source§impl PartialEq<MaterialMapIndex> for MaterialMapIndex
impl PartialEq<MaterialMapIndex> for MaterialMapIndex
source§fn eq(&self, other: &MaterialMapIndex) -> bool
fn eq(&self, other: &MaterialMapIndex) -> bool
This method tests for
self and other values to be equal, and is used
by ==.