Loading...
Searching...
No Matches
Classes | Namespaces | Functions
bsdf_ptr.h File Reference

A shared_ptr wrapper for bsdfs. More...

#include "concepts/bsdf_ptr.h"
#include "concepts/stringconvert.h"
#include "util/pointer.h"
#include "core/error.h"
#include "bbm/bsdf.h"

Go to the source code of this file.

Classes

struct  bsdf_ptr< CONF >
 

Namespaces

namespace  bbm
 

Functions

 BBM_CHECK_CONCEPT (concepts::bsdf_ptr, bsdf_ptr< config >)
 
template<typename BSDFTYPE , typename... ARGS>
requires concepts::bsdf<BSDFTYPE>
bsdf_ptr< get_config< BSDFTYPE > > make_bsdf_ptr (ARGS... args)
 Helper method for making a bsdf_ptr from a BSDF (new construction)
 
template<typename BSDFMODEL , typename... ARGS>
requires (concepts::bsdfmodel<BSDFMODEL> && !concepts::bsdf<BSDFMODEL>)
bsdf_ptr< get_config< BSDFMODEL > > make_bsdf_ptr (ARGS... args)
 Helper method for making a bsdf_ptr from a BSDF MODEL (new construction)
 
template<typename BSDFTYPE >
requires (concepts::bsdf<BSDFTYPE> && !concepts::bsdf_ptr<BSDFTYPE>)
bsdf_ptr< get_config< BSDFTYPE > > make_bsdf_ptr (const BSDFTYPE &arg)
 Helper method for making a bsdf_ptr from a BSDF (copy construction)
 
template<typename BSDFMODEL >
requires (concepts::bsdfmodel<BSDFMODEL> && !concepts::bsdf<BSDFMODEL>)
bsdf_ptr< get_config< BSDFMODEL > > make_bsdf_ptr (const BSDFMODEL &arg)
 Helper method for making a bsdf_ptr from a BSDF MODEL (copy construction)
 
template<typename CONF >
requires concepts::config<CONF>
bsdf_ptr< CONF > make_bsdf_ptr (const bsdf_ptr< CONF > &arg)
 Helper method for making a bsdf_ptr (avoid bsdf_ptr of bsdf_ptr)
 

Detailed Description

A shared_ptr wrapper for bsdfs.

Implements concepts::bsdf_ptr