17 #ifndef IGNITION_COMMON_PBR_HH_ 18 #define IGNITION_COMMON_PBR_HH_ 21 #include <ignition/common/graphics/Export.hh> 55 class IGNITION_COMMON_GRAPHICS_VISIBLE
Pbr 62 public:
Pbr(
const Pbr &_pbr);
66 public:
Pbr(
Pbr &&_pbr) noexcept;
74 public:
Pbr &operator=(
const Pbr &_pbr);
79 public:
Pbr &operator=(
Pbr &&_pbr);
84 public:
bool operator==(
const Pbr &_pbr)
const;
90 public:
bool operator!=(
const Pbr &_pbr)
const;
100 public:
void SetAlbedoMap(
const std::string &_map);
127 public:
void SetEnvironmentMap(
const std::string &_map);
137 public:
void SetAmbientOcclusionMap(
const std::string &_map);
147 public:
void SetRoughnessMap(
const std::string &_map);
157 public:
void SetMetalnessMap(
const std::string &_map);
167 public:
void SetEmissiveMap(
const std::string &_map);
171 public:
double Metalness()
const;
175 public:
void SetMetalness(
double _value);
179 public:
double Roughness()
const;
183 public:
void SetRoughness(
double _value);
193 public:
void SetGlossinessMap(
const std::string &_map);
197 public:
double Glossiness()
const;
201 public:
void SetGlossiness(
double _value);
211 public:
void SetSpecularMap(
const std::string &_map);
219 public:
void SetType(
PbrType _type);
222 private: PbrPrivate *dataPtr =
nullptr;
NormalMapSpace
Space the normal map is defined in.
Definition: Pbr.hh:44
This class contains Physically-Based-Rendering (PBR) workflow properties.
Definition: Pbr.hh:55
PbrType
Type of PBR workflow.
Definition: Pbr.hh:31
Metal/Roughness workflow.
Specular/Glossiness workflow.
Forward declarations for the common classes.