blob: 8ac41de0cf1fe3bc48760fd149badb04d244250b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
// simple-render-pass-layout.h
#pragma once
// Implementation of a dummy render pass layout object that stores and holds its
// desc value. Used by targets that does not expose an API object for the render pass
// concept.
#include "core/slang-basic.h"
#include "core/slang-com-object.h"
#include "slang-gfx.h"
namespace gfx
{
class SimpleRenderPassLayout : public IRenderPassLayout, public Slang::ComObject
{
public:
SLANG_COM_OBJECT_IUNKNOWN_ALL
IRenderPassLayout* getInterface(const Slang::Guid& guid);
public:
Slang::ShortList<TargetAccessDesc> m_renderTargetAccesses;
TargetAccessDesc m_depthStencilAccess;
bool m_hasDepthStencil;
void init(const IRenderPassLayout::Desc& desc);
};
} // namespace gfx
|