Public Member Functions | List of all members
sdf::v11::Pbr Class Reference

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 PbrWorkflowWorkflow (PbrWorkflowType _type) const
 Get a PBR workflow by type. More...
 

Detailed Description

This class provides access to Physically-Based-Rendering (PBR) material workflows.

Constructor & Destructor Documentation

◆ Pbr()

sdf::v11::Pbr::Pbr ( )

Default constructor.

Member Function Documentation

◆ Load()

Errors sdf::v11::Pbr::Load ( ElementPtr  _sdf)

Load the pbr based on an element pointer.

This is not the usual entry point. Typical usage of the SDF DOM is through the Root object.

Parameters
[in]_sdfThe SDF Element pointer
Returns
Errors, which is a vector of Error objects. Each Error includes an error code and message. An empty vector indicates no error.

◆ SetWorkflow()

void sdf::v11::Pbr::SetWorkflow ( PbrWorkflowType  _type,
const PbrWorkflow _workflow 
)

Set a PBR workflow by type.

Parameters
[in]_typeType of PBR workflow
[in]_workflowWorkflow of the specified type.
See also
PbrWorkflowType

◆ Workflow()

const PbrWorkflow* sdf::v11::Pbr::Workflow ( PbrWorkflowType  _type) const

Get a PBR workflow by type.

Parameters
[in]_typeType of PBR workflow
Returns
Workflow of the specified type.
See also
PbrWorkflowType

The documentation for this class was generated from the following file: