ezEngine Release 26.9
Loading...
Searching...
No Matches
ezRenderGraphContext Class Reference

#include <RenderGraphContext.h>

Public Member Functions

 ezRenderGraphContext (ezGALCommandEncoder *pCommandEncoder, ezGALDevice *pDevice, ezRenderContext *pRenderContext, const ezReflectedClass *pUserData=nullptr)
 
ezGALTextureHandle ResolveTexture (ezRenderGraphTextureHandle hTexture) const
 Resolve a transient texture handle to the real GPU texture.
 
ezGALBufferHandle ResolveBuffer (ezRenderGraphBufferHandle hBuffer) const
 Resolve a transient buffer handle to the real GPU buffer.
 
ezGALCommandEncoderGetCommandEncoder () const
 
ezGALDeviceGetDevice () const
 
ezRenderContextGetRenderContext () const
 
template<typename T >
const T * GetUserData () const
 Gives access to the graph's user data set via ezRenderGraph::SetUserData.
 

Friends

class ezRenderGraph
 

Detailed Description

Provided to the pass execution callback. Gives access to the command encoder and allows resolving transient handles to real GPU resources.

For render passes, BeginRendering has already been called before the callback is invoked and EndRendering will be called after it returns.


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