Grindstone Game Engine v0.2.0
An open source game engine and toolkit.
Loading...
Searching...
No Matches
Grindstone::Renderer::RenderGraphPass Class Reference

Classes

struct  ContextData
 

Public Member Functions

 RenderGraphPass (HashedString name, GpuQueue queue)
 
 RenderGraphPass (const RenderGraphPass &other)=default
 
 RenderGraphPass (RenderGraphPass &&other) noexcept=default
 
RenderGraphPassoperator= (const RenderGraphPass &other)=default
 
RenderGraphPassoperator= (RenderGraphPass &&other) noexcept=default
 
void AddInputImage (HashedString name, AttachmentInfo attachmentInfo)
 
void AddInputOutputImage (HashedString inName, HashedString outName, AttachmentInfo attachmentInfo)
 
void AddOutputImage (HashedString name, AttachmentInfo)
 
void AddInputBuffer (HashedString name, BufferInfo bufferInfo)
 
void AddInputOutputBuffer (HashedString inName, HashedString outName, BufferInfo bufferInfo)
 
void AddOutputBuffer (HashedString name, BufferInfo bufferInfo)
 
void RenderEnabled ()
 
void RenderDisabled ()
 
RenderGraphPassSetOnSetup (std::function< void *()> fn)
 
RenderGraphPassSetOnDestroy (std::function< void(void *)> fn)
 
RenderGraphPassSetOnRenderEnabled (std::function< void(void *)> fn)
 
RenderGraphPassSetOnRenderDisabledCallback (std::function< void(void *)> fn)
 
HashedString GetName () const
 

Protected Attributes

GpuQueue queue
 
HashedString name
 
std::vector< HashedStringdependencyResourceNames
 
std::vector< HashedStringemittedResourceNames
 
std::function< void *()> OnSetup
 
std::function< void(void *)> OnDestroy
 
std::function< void(void *)> OnRenderEnabled
 
std::function< void(void *)> OnRenderDisabled
 

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