yum-mirror/slang

Making it easier to work with shaders

git clone https://git.yummers.dev/yum-mirror/slang

lucy96chenSplit render-vk.h/.cpp into a set of smaller files (#2244)43e1b7cdc

master
372 B22 linesraw
1// d3d12-vertex-layout.h
2#pragma once
3
4#include "d3d12-base.h"
5
6namespace gfx
7{
8namespace d3d12
9{
10
11using namespace Slang;
12
13class InputLayoutImpl : public InputLayoutBase
14{
15public:
16    List<D3D12_INPUT_ELEMENT_DESC> m_elements;
17    List<UINT> m_vertexStreamStrides;
18    List<char> m_text; ///< Holds all strings to keep in scope
19};
20
21} // namespace d3d12
22} // namespace gfx