PBRMaterial
Types
uint32_t |
|
uint32_t |
Fields
|
|
|
|
|
|
|
|
|
|
|
|
|
|
float |
|
float |
|
float |
|
float |
|
float |
|
bool |
|
float |
|
float |
|
bool |
|
float |
|
bool |
|
float |
|
Functions
bool |
|
bool |
Detailed Description
-
class PBRMaterial
The PBRMaterial class is used to define a MaterialKey.
Public Types
Public Functions
-
inline PBRMaterial()
-
inline bool operator==(PBRMaterial const &that) const
-
inline bool operator!=(PBRMaterial const &that) const
Public Members
-
ChannelMapping metalness_map_channel
-
ChannelMapping roughness_map_channel
-
ChannelMapping occlusion_map_channel
-
float normal_factor
-
float metalness_factor
-
float roughness_factor
-
float occlusion_factor
-
float alpha_cutoff
-
bool clearcoat_enabled
See glTF KHR_materials_clearcoat extension.
-
float clearcoat_factor
-
float clearcoat_roughness_factor
-
bool specular_enabled
-
float specular_factor
-
bool glossiness_enabled
-
float glossiness_factor
-
inline PBRMaterial()