Nebula
Loading...
Searching...
No Matches
framesubpassbatch.h
Go to the documentation of this file.
1#pragma once
2//------------------------------------------------------------------------------
9//------------------------------------------------------------------------------
10#include "frameop.h"
13namespace Frame
14{
16{
17public:
21 virtual ~FrameSubpassBatch();
22
24 {
25 void Run(const CoreGraphics::CmdBufferId cmdBuf, const IndexT frameIndex, const IndexT bufferIndex) override;
26
28 };
29
32
36 static void DrawBatch(const CoreGraphics::CmdBufferId cmdBuf, CoreGraphics::BatchGroup::Code batch, const Graphics::GraphicsEntityId id, const SizeT numInstances, const IndexT baseInstance, const IndexT bufferIndex);
37};
38
39} // namespace Frame2
IndexT Code
binary code for a ModelNodeType
Definition batchgroup.h:36
Definition frameop.h:32
Definition framesubpassbatch.h:16
virtual ~FrameSubpassBatch()
destructor
Definition framesubpassbatch.cc:41
FrameOp::Compiled * AllocCompiled(Memory::ArenaAllocator< BIG_CHUNK > &allocator)
allocate instance of compiled
Definition framesubpassbatch.cc:50
FrameSubpassBatch()
constructor
Definition framesubpassbatch.cc:33
CoreGraphics::BatchGroup::Code batch
Definition framesubpassbatch.h:31
static void DrawBatch(const CoreGraphics::CmdBufferId cmdBuf, CoreGraphics::BatchGroup::Code batch, const Graphics::GraphicsEntityId id, const IndexT bufferIndex)
Do the actual drawing.
Definition framesubpassbatch.cc:61
Allocates memory in chunks.
Definition arenaallocator.h:36
ImGUI debug interface for inspecting frame scripts.
Definition shaderserverbase.h:52
Definition commandbuffer.h:148
Definition frameop.h:94
Definition framesubpassbatch.h:24
CoreGraphics::BatchGroup::Code batch
Definition framesubpassbatch.h:27
void Run(const CoreGraphics::CmdBufferId cmdBuf, const IndexT frameIndex, const IndexT bufferIndex) override
Run operation on a specific command buffer.
Definition framesubpassbatch.cc:247
The graphics entity is only an Id, to which we can attach GraphicsContexts.
Definition graphicsentity.h:16
int SizeT
Definition types.h:49
int IndexT
Definition types.h:48