1#pragma once
2
3#include <nn/gfx/detail/gfx_Sampler-api.nvn.8.h>
4#include <nn/gfx/gfx_Common.h>
5
6namespace nn::gfx {
7
8template <class TTarget>
9class TSampler : public detail::SamplerImpl<TTarget> {
10 NN_NO_COPY(TSampler);
11
12public:
13 typedef SamplerInfo InfoType;
14
15 TSampler();
16 void Initialize(TDevice<TTarget>*, const InfoType&);
17 void Finalize(TDevice<TTarget>*);
18 void SetUserPtr(void*);
19 void* GetUserPtr();
20 const void* GetUserPtr() const;
21};
22
23} // namespace nn::gfx