Nebula
Toggle main menu visibility
Loading...
Searching...
No Matches
frameswap.h
Go to the documentation of this file.
1
#pragma once
2
//------------------------------------------------------------------------------
9
//------------------------------------------------------------------------------
10
#include "
frameop.h
"
11
namespace
Frame
12
{
13
class
FrameSwap
:
public
FrameOp
14
{
15
public
:
17
FrameSwap
();
19
virtual
~FrameSwap
();
20
21
struct
CompiledImpl
:
public
FrameSwap::Compiled
22
{
23
void
Run
(
const
CoreGraphics::CmdBufferId
cmdBuf,
const
IndexT
frameIndex,
const
IndexT
bufferIndex)
override
;
24
25
#if NEBULA_GRAPHICS_DEBUG
26
Util::StringAtom
name
;
27
#endif
28
29
CoreGraphics::TextureId
from
;
30
};
31
32
FrameOp::Compiled
*
AllocCompiled
(
Memory::ArenaAllocator<BIG_CHUNK>
& allocator);
33
CoreGraphics::TextureId
from
;
34
};
35
36
}
// namespace Frame2
Frame::FrameOp::name
Util::StringAtom name
Definition
frameop.h:187
Frame::FrameOp::FrameOp
FrameOp()
constructor
Definition
frameop.cc:15
Frame::FrameSwap::~FrameSwap
virtual ~FrameSwap()
destructor
Definition
frameswap.cc:24
Frame::FrameSwap::from
CoreGraphics::TextureId from
Definition
frameswap.h:33
Frame::FrameSwap::AllocCompiled
FrameOp::Compiled * AllocCompiled(Memory::ArenaAllocator< BIG_CHUNK > &allocator)
allocate instance of compiled
Definition
frameswap.cc:33
Frame::FrameSwap::FrameSwap
FrameSwap()
constructor
Definition
frameswap.cc:16
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
CoreGraphics::CmdBufferId
Definition
commandbuffer.h:176
CoreGraphics::TextureId
texture type
Definition
texture.h:25
Frame::FrameOp::Compiled
Definition
frameop.h:94
Frame::FrameSwap::CompiledImpl
Definition
frameswap.h:22
Frame::FrameSwap::CompiledImpl::Run
void Run(const CoreGraphics::CmdBufferId cmdBuf, const IndexT frameIndex, const IndexT bufferIndex) override
Run operation on a specific command buffer.
Definition
frameswap.cc:47
Frame::FrameSwap::CompiledImpl::from
CoreGraphics::TextureId from
Definition
frameswap.h:29
IndexT
int IndexT
Definition
types.h:41
code
render
frame
frameswap.h
Generated on
for Nebula. Dark theme by
Tilen Majerle
. All rights reserved.