Loading...
Searching...
No Matches
Public Member Functions | List of all members
sdf::SDF_VERSION_NAMESPACE::Pbr Class Reference

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

#include <Pbr.hh>

Public Member Functions

 Pbr ()
 Default constructor.
 
Errors Load (ElementPtr _sdf)
 Load the pbr based on an element pointer.
 
void SetWorkflow (PbrWorkflowType _type, const PbrWorkflow &_workflow)
 Set a PBR workflow by type.
 
const PbrWorkflowWorkflow (PbrWorkflowType _type) const
 Get a PBR workflow by type.
 

Detailed Description

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

Constructor & Destructor Documentation

◆ Pbr()

sdf::SDF_VERSION_NAMESPACE::Pbr::Pbr ( )

Default constructor.

Member Function Documentation

◆ Load()

Errors sdf::SDF_VERSION_NAMESPACE::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::SDF_VERSION_NAMESPACE::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::SDF_VERSION_NAMESPACE::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: