Photon Engine 2.0.0-beta
A physically based renderer.
Loading...
Searching...
No Matches
ph::CookedDataStorage Class Referencefinal

#include <CookedDataStorage.h>

Public Member Functions

 CookedDataStorage ()=default
 
 CookedDataStorage (CookedDataStorage &&other)
 
 ~CookedDataStorage ()=default
 
void clear ()
 
void add (std::unique_ptr< Intersectable > intersectable)
 
void add (std::unique_ptr< PrimitiveMetadata > metadata)
 
void add (std::unique_ptr< Emitter > emitter)
 
void add (std::unique_ptr< math::Transform > transform)
 
void add (std::vector< std::unique_ptr< Intersectable > > &&intersectables)
 
void add (std::vector< std::unique_ptr< math::Transform > > &&transforms)
 
void add (CookedDataStorage &&other)
 
std::size_t numIntersectables () const
 
std::size_t numEmitters () const
 
TIteratorProxy< std::vector< std::unique_ptr< Intersectable > > > intersectables ()
 
TConstIteratorProxy< std::vector< std::unique_ptr< Intersectable > > > intersectables () const
 
TIteratorProxy< std::vector< std::unique_ptr< PrimitiveMetadata > > > primitiveMetadatas ()
 
TConstIteratorProxy< std::vector< std::unique_ptr< PrimitiveMetadata > > > primitiveMetadatas () const
 
TIteratorProxy< std::vector< std::unique_ptr< Emitter > > > emitters ()
 
TConstIteratorProxy< std::vector< std::unique_ptr< Emitter > > > emitters () const
 
 CookedDataStorage (const CookedDataStorage &other)=delete
 
CookedDataStorageoperator= (const CookedDataStorage &rhs)=delete
 

Constructor & Destructor Documentation

◆ CookedDataStorage() [1/3]

ph::CookedDataStorage::CookedDataStorage ( )
default

◆ CookedDataStorage() [2/3]

ph::CookedDataStorage::CookedDataStorage ( CookedDataStorage && other)

◆ ~CookedDataStorage()

ph::CookedDataStorage::~CookedDataStorage ( )
default

◆ CookedDataStorage() [3/3]

ph::CookedDataStorage::CookedDataStorage ( const CookedDataStorage & other)
delete

Member Function Documentation

◆ add() [1/7]

void ph::CookedDataStorage::add ( CookedDataStorage && other)

◆ add() [2/7]

void ph::CookedDataStorage::add ( std::unique_ptr< Emitter > emitter)

◆ add() [3/7]

void ph::CookedDataStorage::add ( std::unique_ptr< Intersectable > intersectable)

◆ add() [4/7]

void ph::CookedDataStorage::add ( std::unique_ptr< math::Transform > transform)

◆ add() [5/7]

void ph::CookedDataStorage::add ( std::unique_ptr< PrimitiveMetadata > metadata)

◆ add() [6/7]

void ph::CookedDataStorage::add ( std::vector< std::unique_ptr< Intersectable > > && intersectables)

◆ add() [7/7]

void ph::CookedDataStorage::add ( std::vector< std::unique_ptr< math::Transform > > && transforms)

◆ clear()

void ph::CookedDataStorage::clear ( )

◆ emitters() [1/2]

TIteratorProxy< std::vector< std::unique_ptr< Emitter > > > ph::CookedDataStorage::emitters ( )
inline

◆ emitters() [2/2]

TConstIteratorProxy< std::vector< std::unique_ptr< Emitter > > > ph::CookedDataStorage::emitters ( ) const
inline

◆ intersectables() [1/2]

TIteratorProxy< std::vector< std::unique_ptr< Intersectable > > > ph::CookedDataStorage::intersectables ( )
inline

◆ intersectables() [2/2]

TConstIteratorProxy< std::vector< std::unique_ptr< Intersectable > > > ph::CookedDataStorage::intersectables ( ) const
inline

◆ numEmitters()

std::size_t ph::CookedDataStorage::numEmitters ( ) const

◆ numIntersectables()

std::size_t ph::CookedDataStorage::numIntersectables ( ) const

◆ operator=()

CookedDataStorage & ph::CookedDataStorage::operator= ( const CookedDataStorage & rhs)
delete

◆ primitiveMetadatas() [1/2]

TIteratorProxy< std::vector< std::unique_ptr< PrimitiveMetadata > > > ph::CookedDataStorage::primitiveMetadatas ( )
inline

◆ primitiveMetadatas() [2/2]

TConstIteratorProxy< std::vector< std::unique_ptr< PrimitiveMetadata > > > ph::CookedDataStorage::primitiveMetadatas ( ) const
inline

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