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::SDF_VERSION_NAMESPACE::Pbr::Pbr | ( | ) |
Default constructor.
Errors sdf::SDF_VERSION_NAMESPACE::Pbr::Load | ( | ElementPtr | _sdf | ) |
void sdf::SDF_VERSION_NAMESPACE::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::SDF_VERSION_NAMESPACE::Pbr::Workflow | ( | PbrWorkflowType | _type | ) | const |
Get a PBR workflow by type.
[in] | _type | Type of PBR workflow |