SDEngine
Game Engine
Loading...
Searching...
No Matches
sd::RenderStage Class Reference

GPU command recording layer: bound to a View + render stage. No logic or UI. More...

#include <Layer.hpp>

+ Inheritance diagram for sd::RenderStage:
+ Collaboration diagram for sd::RenderStage:

Public Member Functions

void on_update (float) final
 
void on_fixed_update (double) final
 
void on_gui_render () final
 
void on_im_gui_menu_bar () final
 
 Layer (const std::string &name="Layer", Scene *scene=nullptr)
 
- Public Member Functions inherited from sd::Layer
virtual ~Layer ()=default
 
 Layer (const std::string &name="Layer", Scene *scene=nullptr)
 
virtual void on_attach ()
 
virtual void on_detach ()
 
virtual void on_activate ()
 
virtual void on_deactivate ()
 
virtual void on_swapchain_recreated ()
 
const std::string & get_name () const
 
void set_scene (Scene *scene)
 
Sceneget_scene () const
 
virtual void on_event (Event &)
 
virtual void on_render (vk::CommandBuffer cmd)
 
bool is_active () const noexcept
 

Additional Inherited Members

- Protected Attributes inherited from sd::Layer
bool m_is_active = true
 
std::string m_debug_name
 
Scenem_scene = nullptr
 
int m_stage_id
 
ViewId m_view_id
 
Viewm_view = nullptr
 

Detailed Description

GPU command recording layer: bound to a View + render stage. No logic or UI.

Member Function Documentation

◆ Layer()

sd::Layer::Layer ( const std::string &  name = "Layer",
Scene scene = nullptr 
)
inlineexplicit

◆ on_fixed_update()

void sd::RenderStage::on_fixed_update ( double  )
inlinefinalvirtual

Reimplemented from sd::Layer.

◆ on_gui_render()

void sd::RenderStage::on_gui_render ( )
inlinefinalvirtual

Reimplemented from sd::Layer.

◆ on_im_gui_menu_bar()

void sd::RenderStage::on_im_gui_menu_bar ( )
inlinefinalvirtual

Reimplemented from sd::Layer.

◆ on_update()

void sd::RenderStage::on_update ( float  )
inlinefinalvirtual

Reimplemented from sd::Layer.


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