CeresEngine 0.2.0
A game development framework
Loading...
Searching...
No Matches
CeresEngine::PresentRenderTask Class Referencefinal

#include <CeresEngine/Renderer/RenderGraph/RenderTask.hpp>

Inheritance diagram for CeresEngine::PresentRenderTask:
CeresEngine::RenderTask CeresEngine::RefCounted< RenderTask >

Public Member Functions

void compile (RenderTaskCompiler &compiler) final
 Compiles the render task.
 
void execute (RenderGraphContext &context, GPUCommandBuffer &commandBuffer) final
 Executes the render task with the given commandBuffer.
 
- Public Member Functions inherited from CeresEngine::RenderTask
 RenderTask (RenderGraph &renderGraph)
 
virtual ~RenderTask ()
 
RenderTaskResourceUsagecompile ()
 Compiles the render task.
 
virtual StringView getName () const
 Returns a display name for the render task.
 
virtual RenderTaskStatus check () const
 Returns true if the task is dirty and needs to be run.
 
virtual Any getSettings () const
 Gets a const-reference to the render task settings.
 
virtual Any getSettings ()
 Gets a reference to the render task settings.
 
const Vector< InputSlot * > & getInputs () const
 
const Vector< OutputSlot * > & getOutputs () const
 
const RenderTaskResourceUsagegetResourceUsage () const
 
- Public Member Functions inherited from CeresEngine::RefCounted< RenderTask >
 RefCounted (Args &&... args)
 Creates a new RefCounted object and constructs a new Deleter by forwarding Args to it.
 
void retain () noexcept
 Retains the object by increment it's reference count by one.
 
bool release () noexcept
 Relases the object by decrementing it's reference count by one.
 

Public Attributes

ImageInput image {this, "image"}
 The image to be presented by the task.
 

Additional Inherited Members

- Protected Member Functions inherited from CeresEngine::RenderTask
virtual bool shouldConnect (const Slot &slot, const Slot &targetSlot) const
 An internal method called whenever a new connection is being made.
 
virtual void willConnect (Slot &slot, Slot &targetSlot)
 An internal method called before the slot is connected.
 
virtual void didConnect (Slot &slot, Connection &connection)
 An internal method called after the slot is connected.
 
virtual bool shouldDisconnect (const Slot &slot, const Connection &connection) const
 An internal method called whenever a new disconnection is being made.
 
virtual void willDisconnect (Slot &slot, Connection &connection)
 An internal method called before the slot is disconnected.
 
virtual void didDisconnect (Slot &slot, Connection &connection)
 An internal method called whenever the slot is disconnected.
 
ImageRenderResourcecreate (const GPUImageDescriptor &descriptor)
 
BufferRenderResourcecreate (const GPUBufferDescriptor &descriptor)
 
- Protected Attributes inherited from CeresEngine::RenderTask
RenderTaskResourceUsage mResourceUsage
 

Member Function Documentation

◆ compile()

void CeresEngine::PresentRenderTask::compile ( RenderTaskCompiler compiler)
finalvirtual

Compiles the render task.

Implements CeresEngine::RenderTask.

◆ execute()

void CeresEngine::PresentRenderTask::execute ( RenderGraphContext context,
GPUCommandBuffer commandBuffer 
)
finalvirtual

Executes the render task with the given commandBuffer.

Parameters
commandBufferThe command buffer to encode the render task to.

Implements CeresEngine::RenderTask.

Member Data Documentation

◆ image

ImageInput CeresEngine::PresentRenderTask::image {this, "image"}

The image to be presented by the task.


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