23 #include "sdf/sdf_config.h" 29 inline namespace SDF_VERSION_NAMESPACE {
33 class PbrWorkflowPrivate;
97 public:
bool operator==(
const PbrWorkflow &_workflow)
const;
103 public:
bool operator!=(
const PbrWorkflow &_workflow)
const;
109 public: std::string AlbedoMap()
const;
113 public:
void SetAlbedoMap(
const std::string &_map);
119 public: std::string NormalMap()
const;
125 public:
void SetNormalMap(
const std::string &_map,
136 public: std::string EnvironmentMap()
const;
140 public:
void SetEnvironmentMap(
const std::string &_map);
146 public: std::string AmbientOcclusionMap()
const;
150 public:
void SetAmbientOcclusionMap(
const std::string &_map);
156 public: std::string RoughnessMap()
const;
160 public:
void SetRoughnessMap(
const std::string &_map);
166 public: std::string MetalnessMap()
const;
170 public:
void SetMetalnessMap(
const std::string &_map);
176 public: std::string EmissiveMap()
const;
180 public:
void SetEmissiveMap(
const std::string &_map);
184 public:
double Metalness()
const;
188 public:
void SetMetalness(
const double _value);
192 public:
double Roughness()
const;
196 public:
void SetRoughness(
const double _value);
202 public: std::string GlossinessMap()
const;
206 public:
void SetGlossinessMap(
const std::string &_map);
210 public:
double Glossiness()
const;
214 public:
void SetGlossiness(
const double _value);
220 public: std::string SpecularMap()
const;
224 public:
void SetSpecularMap(
const std::string &_map);
241 private: PbrWorkflowPrivate *dataPtr =
nullptr;
253 public:
Pbr(
const Pbr &_pbr);
257 public:
Pbr(
Pbr &&_pbr) noexcept;
265 public:
Pbr &operator=(
const Pbr &_pbr);
270 public:
Pbr &operator=(
Pbr &&_pbr);
294 private: PbrPrivate *dataPtr =
nullptr;
An unspecified sensor type.
class SDFORMAT_VISIBLE Element
Definition: Element.hh:49
Metal/Roughness workflow.
Specular/Glossiness workflow.
This class provides access to Physically-Based-Rendering (PBR) material workflows.
Definition: Pbr.hh:246
std::shared_ptr< Element > ElementPtr
Definition: Element.hh:53
std::vector< Error > Errors
A vector of Error.
Definition: Types.hh:74
#define SDFORMAT_VISIBLE
Use to represent "symbol visible" if supported.
Definition: system_util.hh:48
NormalMapSpace
Space the normal map is defined in.
Definition: Pbr.hh:49
namespace for Simulation Description Format parser
Definition: Actor.hh:32
PbrWorkflowType
Type of PBR workflow.
Definition: Pbr.hh:36
This class contains Physically-Based-Rendering (PBR) workflow properties.
Definition: Pbr.hh:60