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

#include <PrimitiveChannel.h>

Public Member Functions

 PrimitiveChannel ()
 
 PrimitiveChannel (const std::shared_ptr< UvwMapper > &mapper)
 
const UvwMappergetMapper () const
 

Detailed Description

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.

Constructor & Destructor Documentation

◆ PrimitiveChannel() [1/2]

ph::PrimitiveChannel::PrimitiveChannel ( )

◆ PrimitiveChannel() [2/2]

ph::PrimitiveChannel::PrimitiveChannel ( const std::shared_ptr< UvwMapper > & mapper)
explicit

Member Function Documentation

◆ getMapper()

const UvwMapper * ph::PrimitiveChannel::getMapper ( ) const
inline

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