blob: ae3ef1166b905e4390fccae36e0be50676e63b3d (
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
29
30
|
// 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 "slang-gfx.h"
#include "core/slang-com-object.h"
#include "core/slang-basic.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);
};
}
|