This class provides access to Physically-Based-Rendering (PBR) material workflows. More...
#include <Pbr.hh>
Public Member Functions | |
Pbr () | |
Default constructor. More... | |
Pbr (const Pbr &_pbr) | |
Copy constructor. More... | |
Pbr (Pbr &&_pbr) noexcept | |
Move constructor. More... | |
~Pbr () | |
Destructor. More... | |
Errors | Load (ElementPtr _sdf) |
Load the pbr based on an element pointer. More... | |
Pbr & | operator= (const Pbr &_pbr) |
Assignment operator. More... | |
Pbr & | operator= (Pbr &&_pbr) |
Move assignment operator. More... | |
void | SetWorkflow (PbrWorkflowType _type, const PbrWorkflow &_workflow) |
Set a PBR workflow by type. More... | |
PbrWorkflow * | Workflow (PbrWorkflowType _type) const |
Get a PBR workflow by type. More... | |
This class provides access to Physically-Based-Rendering (PBR) material workflows.
sdf::v8::Pbr::Pbr | ( | ) |
Default constructor.
sdf::v8::Pbr::~Pbr | ( | ) |
Destructor.
Errors sdf::v8::Pbr::Load | ( | ElementPtr | _sdf | ) |
Assignment operator.
[in] | _pbr | The pbr to set values from. |
Move assignment operator.
[in] | _pbr | The pbr to move values from. |
void sdf::v8::Pbr::SetWorkflow | ( | PbrWorkflowType | _type, |
const PbrWorkflow & | _workflow | ||
) |
Set a PBR workflow by type.
[in] | _type | Type of PBR workflow |
[in] | _workflow | Workflow of the specified type. |
PbrWorkflow* sdf::v8::Pbr::Workflow | ( | PbrWorkflowType | _type | ) | const |
Get a PBR workflow by type.
[in] | _type | Type of PBR workflow |