17 #ifndef IGNITION_COMMON_PBR_HH_ 18 #define IGNITION_COMMON_PBR_HH_ 22 #include <ignition/utils/ImplPtr.hh> 24 #include <ignition/common/graphics/Export.hh> 55 class IGNITION_COMMON_GRAPHICS_VISIBLE
Pbr 63 public:
bool operator==(
const Pbr &_pbr)
const;
69 public:
bool operator!=(
const Pbr &_pbr)
const;
106 public:
void SetEnvironmentMap(
const std::string &_map);
116 public:
void SetAmbientOcclusionMap(
const std::string &_map);
126 public:
void SetRoughnessMap(
const std::string &_map);
136 public:
void SetMetalnessMap(
const std::string &_map);
146 public:
void SetEmissiveMap(
const std::string &_map);
157 public:
void SetLightMap(
const std::string &_map,
unsigned int _uvSet = 0u);
161 public:
unsigned int LightMapTexCoordSet()
const;
165 public:
double Metalness()
const;
169 public:
void SetMetalness(
double _value);
173 public:
double Roughness()
const;
177 public:
void SetRoughness(
double _value);
187 public:
void SetGlossinessMap(
const std::string &_map);
191 public:
double Glossiness()
const;
195 public:
void SetGlossiness(
double _value);
205 public:
void SetSpecularMap(
const std::string &_map);
213 public:
void SetType(
PbrType _type);
216 IGN_UTILS_IMPL_PTR(dataPtr)
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.