Nebula
Loading...
Searching...
No Matches
frameresolve.h
Go to the documentation of this file.
1#pragma once
2//------------------------------------------------------------------------------
9//------------------------------------------------------------------------------
10#include "frameop.h"
11#include "coregraphics/shader.h"
12#include "system_shaders/msaa/msaaresolvedepth4.h"
13
14namespace Frame
15{
16
17class FrameResolve : public FrameOp
18{
19public:
20
25
27 {
28
30 void Run(const CoreGraphics::CmdBufferId cmdBuf, const IndexT frameIndex, const IndexT bufferIndex) override;
31
33 void SetupConstants(const IndexT bufferIndex) override;
34
35#if NEBULA_GRAPHICS_DEBUG
37#endif
38
41
42 Msaaresolvedepth4::ResolveBlock constants;
45 CoreGraphics::ShaderProgramId program;
46
48 };
49
51
54};
55
56} // namespace Frame
Definition frameop.h:32
Util::StringAtom name
Definition frameop.h:187
Definition frameresolve.h:18
CoreGraphics::TextureId to
Definition frameresolve.h:53
FrameResolve()
Constructor.
Definition frameresolve.cc:17
FrameOp::Compiled * AllocCompiled(Memory::ArenaAllocator< BIG_CHUNK > &allocator)
allocate instance of compiled
Definition frameresolve.cc:34
~FrameResolve()
Destructor.
Definition frameresolve.cc:26
CoreGraphics::TextureId from
Definition frameresolve.h:53
CoreGraphics::ImageBits toBits
Definition frameresolve.h:52
CoreGraphics::ImageBits fromBits
Definition frameresolve.h:52
Allocates memory in chunks.
Definition arenaallocator.h:36
Implements a fixed size one-dimensional array.
Definition fixedarray.h:20
A StringAtom.
Definition stringatom.h:22
ImageBits
Definition config.h:82
ImGUI debug interface for inspecting frame scripts.
Definition shaderserverbase.h:52
A shader represents an entire shader resource, containing several stages and programs.
Definition commandbuffer.h:155
texture type
Definition texture.h:25
Definition frameop.h:94
Definition frameresolve.h:27
Util::FixedArray< CoreGraphics::ResourceTableId > resourceTables
Definition frameresolve.h:47
bool shaderResolve
Definition frameresolve.h:43
CoreGraphics::ShaderProgramId program
Definition frameresolve.h:45
void Run(const CoreGraphics::CmdBufferId cmdBuf, const IndexT frameIndex, const IndexT bufferIndex) override
Run the resolve.
Definition frameresolve.cc:90
void SetupConstants(const IndexT bufferIndex) override
Run the constant setup.
Definition frameresolve.cc:117
CoreGraphics::ImageBits fromBits
Definition frameresolve.h:39
CoreGraphics::TextureId from
Definition frameresolve.h:40
CoreGraphics::ImageBits toBits
Definition frameresolve.h:39
Msaaresolvedepth4::ResolveBlock constants
Definition frameresolve.h:42
Math::uint2 dispatchDims
Definition frameresolve.h:44
CoreGraphics::TextureId to
Definition frameresolve.h:40
Definition scalar.h:112
int IndexT
Definition types.h:48