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