blob: 54d1e56490a4f1f9ad505132b015c7ad1d0fa8c6 (
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 "slang-com-helper.h"
#include "core/slang-basic.h"
namespace gfx
{
class SimpleRenderPassLayout
: public IRenderPassLayout
, public Slang::RefObject
{
public:
SLANG_REF_OBJECT_IUNKNOWN_ALL
IRenderPassLayout* getInterface(const Slang::Guid& guid);
public:
Slang::ShortList<AttachmentAccessDesc> m_renderTargetAccesses;
AttachmentAccessDesc m_depthStencilAccess;
bool m_hasDepthStencil;
void init(const IRenderPassLayout::Desc& desc);
};
}
|