summaryrefslogtreecommitdiffstats
path: root/tools/gfx/d3d12/d3d12-vertex-layout.h
blob: 45c31723b14167c557973d2c7e73de5809913ed9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
// d3d12-vertex-layout.h
#pragma once

#include "d3d12-base.h"

namespace gfx
{
namespace d3d12
{

using namespace Slang;

class InputLayoutImpl : public InputLayoutBase
{
public:
    List<D3D12_INPUT_ELEMENT_DESC> m_elements;
    List<UINT> m_vertexStreamStrides;
    List<char> m_text; ///< Holds all strings to keep in scope
};

} // namespace d3d12
} // namespace gfx