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

#include <FrameVisualizer.h>

Inheritance diagram for ph::FrameVisualizer:
ph::Visualizer ph::CoreSdlResource ph::SdlResourceBase ph::ISdlResource ph::PathTracingVisualizer ph::PhotonMappingVisualizer

Public Member Functions

void cook (const CoreCookingContext &ctx, CoreCookedUnit &cooked) override=0
 
std::optional< math::TAABB2D< int64 > > getCropWindowPx () const
 
 PH_DEFINE_SDL_CLASS (TSdlOwnerClass< FrameVisualizer >)
 
- Public Member Functions inherited from ph::Visualizer
ESdlTypeCategory getDynamicCategory () const override
 
 PH_DEFINE_SDL_CLASS (TSdlOwnerClass< Visualizer >)
 
- Public Member Functions inherited from ph::SdlResourceBase
SdlResourceId getId () const override
 Get the unique ID of this resource. The returned ID is guaranteed to be unique in the current process. Newly created resource cannot have an ID that has been used by a previous resource, even if the previous resource has ended its life cycle. See SdlResourceId.h for some utilities.
 
- Public Member Functions inherited from ph::ISdlResource
 ISdlResource (const ISdlResource &other)=default
 
 ISdlResource (ISdlResource &&other)=default
 
virtual ~ISdlResource ()=default
 
ISdlResourceoperator= (const ISdlResource &rhs)=default
 
ISdlResourceoperator= (ISdlResource &&rhs)=default
 
virtual const SdlClassgetDynamicSdlClass () const
 Get runtime SDL class of the resource.
 
virtual bool isInlinable () const
 

Additional Inherited Members

- Static Public Attributes inherited from ph::Visualizer
static constexpr ESdlTypeCategory CATEGORY = ESdlTypeCategory::Ref_Visualizer
 
- Protected Member Functions inherited from ph::SdlResourceBase
 SdlResourceBase ()
 
 SdlResourceBase (const SdlResourceBase &other)
 
 SdlResourceBase (SdlResourceBase &&other)=default
 
SdlResourceBaseoperator= (const SdlResourceBase &rhs)
 
SdlResourceBaseoperator= (SdlResourceBase &&rhs)=default
 
- Protected Member Functions inherited from ph::ISdlResource
 ISdlResource ()=default
 

Member Function Documentation

◆ cook()

void ph::FrameVisualizer::cook ( const CoreCookingContext & ctx,
CoreCookedUnit & cooked )
overridepure virtual

◆ getCropWindowPx()

std::optional< math::TAABB2D< int64 > > ph::FrameVisualizer::getCropWindowPx ( ) const
inline

◆ PH_DEFINE_SDL_CLASS()

ph::FrameVisualizer::PH_DEFINE_SDL_CLASS ( TSdlOwnerClass< FrameVisualizer > )
inline

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