Go to the documentation of this file.
17 #ifndef IGNITION_COMMON_PBR_HH_
18 #define IGNITION_COMMON_PBR_HH_
22 #include <ignition/utils/ImplPtr.hh>
24 #include <gz/common/config.hh>
25 #include <gz/common/graphics/Export.hh>
56 class IGNITION_COMMON_GRAPHICS_VISIBLE
Pbr
64 public:
bool operator==(
const Pbr &_pbr)
const;
70 public:
bool operator!=(
const Pbr &_pbr)
const;
107 public:
void SetEnvironmentMap(
const std::string &_map);
117 public:
void SetAmbientOcclusionMap(
const std::string &_map);
127 public:
void SetRoughnessMap(
const std::string &_map);
137 public:
void SetMetalnessMap(
const std::string &_map);
147 public:
void SetEmissiveMap(
const std::string &_map);
158 public:
void SetLightMap(
const std::string &_map,
unsigned int _uvSet = 0u);
162 public:
unsigned int LightMapTexCoordSet()
const;
166 public:
double Metalness()
const;
170 public:
void SetMetalness(
double _value);
174 public:
double Roughness()
const;
178 public:
void SetRoughness(
double _value);
188 public:
void SetGlossinessMap(
const std::string &_map);
192 public:
double Glossiness()
const;
196 public:
void SetGlossiness(
double _value);
206 public:
void SetSpecularMap(
const std::string &_map);
214 public:
void SetType(
PbrType _type);
217 IGN_UTILS_IMPL_PTR(dataPtr)
PbrType
Type of PBR workflow.
Definition: gz/common/Pbr.hh:32
Forward declarations for the common classes.
@ METAL
Metal/Roughness workflow.
@ SPECULAR
Specular/Glossiness workflow.
NormalMapSpace
Space the normal map is defined in.
Definition: gz/common/Pbr.hh:45
This class contains Physically-Based-Rendering (PBR) workflow properties.
Definition: gz/common/Pbr.hh:56