Foray Library
rapid prototyping framework for crossplatform development of vulkan hardware ray tracing applications
Loading...
Searching...
No Matches
Public Types | Public Member Functions | Static Public Attributes | List of all members
foray::scene::Component::DrawCallback Class Referenceabstract

Base class for implementing the draw callback. More...

#include <foray_component.hpp>

Inheritance diagram for foray::scene::Component::DrawCallback:
foray::Polymorphic foray::scene::gcomp::DrawDirector

Public Types

using TArg = SceneDrawInfo &
 

Public Member Functions

virtual void Draw (TArg drawInfo)=0
 Invoked last each frame. Use to submit draw calls (and related)
 
void Invoke (TArg drawInfo)
 

Static Public Attributes

static const bool ORDERED_EXECUTION = false
 

Additional Inherited Members

- Protected Member Functions inherited from foray::Polymorphic
virtual void __makeMePolymorphic ()
 

Detailed Description

Base class for implementing the draw callback.

Member Typedef Documentation

◆ TArg

Member Function Documentation

◆ Draw()

virtual void foray::scene::Component::DrawCallback::Draw ( TArg  drawInfo)
inlinepure virtual

Invoked last each frame. Use to submit draw calls (and related)

◆ Invoke()

void foray::scene::Component::DrawCallback::Invoke ( TArg  drawInfo)
inline

Member Data Documentation

◆ ORDERED_EXECUTION

const bool foray::scene::Component::DrawCallback::ORDERED_EXECUTION = false
static

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