PixelBullet  0.0.1
A C++ game engine
Loading...
Searching...
No Matches
pixelbullet::Subrender Class Referenceabstract

Represents a render pipeline that is used to render a type of pipeline. More...

#include <subrender.h>

Public Types

using Stage = std::pair<uint32_t, uint32_t>
 

Public Member Functions

 Subrender (Stage stage)
 
 Subrender (const Subrender &)=delete
 
Subrenderoperator= (const Subrender &)=delete
 
 Subrender (Subrender &&) noexcept=default
 
Subrenderoperator= (Subrender &&) noexcept=default
 
virtual void Render (const RenderFrameContext &frame_context)=0
 
const Stage & GetStage () const
 
bool IsEnabled () const
 
void SetEnabled (bool enable)
 

Detailed Description

Represents a render pipeline that is used to render a type of pipeline.

Constructor & Destructor Documentation

◆ Subrender()

pixelbullet::Subrender::Subrender ( Stage stage)
inlineexplicit

Creates a new render pipeline.

Parameters
stageThe stage this renderer will be used in.

Member Function Documentation

◆ Render()

virtual void pixelbullet::Subrender::Render ( const RenderFrameContext & frame_context)
pure virtual

Runs the render pipeline in the current renderpass.

Parameters
commandBufferThe command buffer to record render command into.

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