yum-mirror/slang

Making it easier to work with shaders

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

lucy96chenSplit render-d3d12.h/cpp into a set of smaller files (#2231)5a3aa6159

master
438 B23 linesraw
1// d3d12-sampler.h
2#pragma once
3
4#include "d3d12-base.h"
5
6namespace gfx
7{
8namespace d3d12
9{
10
11using namespace Slang;
12
13class SamplerStateImpl : public SamplerStateBase
14{
15public:
16    D3D12Descriptor m_descriptor;
17    RefPtr<D3D12GeneralExpandingDescriptorHeap> m_allocator;
18    ~SamplerStateImpl();
19    virtual SLANG_NO_THROW Result SLANG_MCALL getNativeHandle(InteropHandle* outHandle) override;
20};
21
22} // namespace d3d12
23} // namespace gfx