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

#include "d3d12-base.h"

namespace gfx
{
namespace d3d12
{

using namespace Slang;

class SamplerStateImpl : public SamplerStateBase
{
public:
    D3D12Descriptor m_descriptor;
    RefPtr<D3D12GeneralExpandingDescriptorHeap> m_allocator;
    ~SamplerStateImpl();
    virtual SLANG_NO_THROW Result SLANG_MCALL getNativeHandle(InteropHandle* outHandle) override;
};

} // namespace d3d12
} // namespace gfx