This class provides access to Physically-Based-Rendering (PBR) material workflows. More...
#include <Pbr.hh>
Public Member Functions | |
Pbr () | |
Default constructor. More... | |
Errors | Load (ElementPtr _sdf) |
Load the pbr based on an element pointer. More... | |
void | SetWorkflow (PbrWorkflowType _type, const PbrWorkflow &_workflow) |
Set a PBR workflow by type. More... | |
const PbrWorkflow * | Workflow (PbrWorkflowType _type) const |
Get a PBR workflow by type. More... | |
This class provides access to Physically-Based-Rendering (PBR) material workflows.
sdf::v12::Pbr::Pbr | ( | ) |
Default constructor.
Errors sdf::v12::Pbr::Load | ( | ElementPtr | _sdf | ) |
void sdf::v12::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. |
const PbrWorkflow* sdf::v12::Pbr::Workflow | ( | PbrWorkflowType | _type | ) | const |
Get a PBR workflow by type.
[in] | _type | Type of PBR workflow |