Photon Engine 2.0.0-beta
A physically based renderer.
|
#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 | |
CookedDataStorage & | operator= (const CookedDataStorage &rhs)=delete |
|
default |
ph::CookedDataStorage::CookedDataStorage | ( | CookedDataStorage && | other | ) |
|
default |
|
delete |
void ph::CookedDataStorage::add | ( | CookedDataStorage && | other | ) |
void ph::CookedDataStorage::add | ( | std::unique_ptr< Emitter > | emitter | ) |
void ph::CookedDataStorage::add | ( | std::unique_ptr< Intersectable > | intersectable | ) |
void ph::CookedDataStorage::add | ( | std::unique_ptr< math::Transform > | transform | ) |
void ph::CookedDataStorage::add | ( | std::unique_ptr< PrimitiveMetadata > | metadata | ) |
void ph::CookedDataStorage::add | ( | std::vector< std::unique_ptr< Intersectable > > && | intersectables | ) |
void ph::CookedDataStorage::add | ( | std::vector< std::unique_ptr< math::Transform > > && | transforms | ) |
void ph::CookedDataStorage::clear | ( | ) |
|
inline |
|
inline |
|
inline |
|
inline |
std::size_t ph::CookedDataStorage::numEmitters | ( | ) | const |
std::size_t ph::CookedDataStorage::numIntersectables | ( | ) | const |
|
delete |
|
inline |
|
inline |