Photon Engine 2.0.0-beta
A physically based renderer.
|
#include <PrimitiveChannel.h>
Public Member Functions | |
PrimitiveChannel () | |
PrimitiveChannel (const std::shared_ptr< UvwMapper > &mapper) | |
const UvwMapper * | getMapper () const |
Represents a channel for some primitives. Each channel contains data that can be utilized by the corresponding primitives, such as UVW mappers. Channels can be easily switched via channel index, resulting in different data being used for any channel-aware methods.
ph::PrimitiveChannel::PrimitiveChannel | ( | ) |
|
explicit |
|
inline |