![]() |
ezEngine Release 26.9
|
#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. | |
| ezGALCommandEncoder * | GetCommandEncoder () const |
| ezGALDevice * | GetDevice () const |
| ezRenderContext * | GetRenderContext () const |
| template<typename T > | |
| const T * | GetUserData () const |
Gives access to the graph's user data set via ezRenderGraph::SetUserData. | |
Friends | |
| class | ezRenderGraph |
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.