Photon Engine 2.0.0-beta
A physically based renderer.
Loading...
Searching...
No Matches
ph::TReferencedPrimitiveGetter< PrimitiveType > Struct Template Referencefinal

#include <TMetaInjectionPrimitive.h>

Public Member Functions

 TReferencedPrimitiveGetter (const PrimitiveType *const primitive)
 
const PrimitiveType * operator() () const
 

Public Attributes

const PrimitiveType * primitive
 

Constructor & Destructor Documentation

◆ TReferencedPrimitiveGetter()

template<CDerived< Primitive > PrimitiveType>
ph::TReferencedPrimitiveGetter< PrimitiveType >::TReferencedPrimitiveGetter ( const PrimitiveType *const primitive)
inlineexplicit

Member Function Documentation

◆ operator()()

template<CDerived< Primitive > PrimitiveType>
const PrimitiveType * ph::TReferencedPrimitiveGetter< PrimitiveType >::operator() ( ) const
inline

Member Data Documentation

◆ primitive

template<CDerived< Primitive > PrimitiveType>
const PrimitiveType* ph::TReferencedPrimitiveGetter< PrimitiveType >::primitive

The documentation for this struct was generated from the following file: