Nebula
Toggle main menu visibility
Loading...
Searching...
No Matches
framebarrier.h
Go to the documentation of this file.
1
#pragma once
2
//------------------------------------------------------------------------------
9
//------------------------------------------------------------------------------
10
#include "
frameop.h
"
11
#include "
coregraphics/barrier.h
"
12
namespace
Frame
13
{
14
class
FrameBarrier
:
public
FrameOp
15
{
16
public
:
18
FrameBarrier
();
20
virtual
~FrameBarrier
();
21
22
struct
CompiledImpl
:
public
FrameOp::Compiled
23
{
24
#if NEBULA_GRAPHICS_DEBUG
25
Util::StringAtom
name
;
26
#endif
28
void
Run
(
const
CoreGraphics::CmdBufferId
cmdBuf,
const
IndexT
frameIndex,
const
IndexT
bufferIndex)
override
;
29
};
30
31
private
:
32
virtual
FrameOp::Compiled
*
AllocCompiled
(
Memory::ArenaAllocator<BIG_CHUNK>
& allocator);
33
};
34
35
}
// namespace Frame2
Frame::FrameBarrier::~FrameBarrier
virtual ~FrameBarrier()
destructor
Definition
framebarrier.cc:23
Frame::FrameBarrier::FrameBarrier
FrameBarrier()
constructor
Definition
framebarrier.cc:15
Frame::FrameBarrier::AllocCompiled
virtual FrameOp::Compiled * AllocCompiled(Memory::ArenaAllocator< BIG_CHUNK > &allocator)
allocate instance of compiled
Definition
framebarrier.cc:32
Frame::FrameOp::name
Util::StringAtom name
Definition
frameop.h:187
Frame::FrameOp::FrameOp
FrameOp()
constructor
Definition
frameop.cc:15
Memory::ArenaAllocator
Allocates memory in chunks.
Definition
arenaallocator.h:36
Util::StringAtom
A StringAtom.
Definition
stringatom.h:22
frameop.h
Frame
ImGUI debug interface for inspecting frame scripts.
Definition
shaderserverbase.h:52
barrier.h
CoreGraphics::CmdBufferId
Definition
commandbuffer.h:176
Frame::FrameBarrier::CompiledImpl
Definition
framebarrier.h:23
Frame::FrameBarrier::CompiledImpl::Run
void Run(const CoreGraphics::CmdBufferId cmdBuf, const IndexT frameIndex, const IndexT bufferIndex) override
running does nothing
Definition
framebarrier.cc:47
Frame::FrameOp::Compiled
Definition
frameop.h:94
IndexT
int IndexT
Definition
types.h:41
code
render
frame
framebarrier.h
Generated on
for Nebula. Dark theme by
Tilen Majerle
. All rights reserved.