RavEngine
Loading...
Searching...
No Matches
MTLSampler.hpp
1#pragma once
2#include <RGL/Types.hpp>
3#include <RGL/Sampler.hpp>
4#include "MTLObjCCompatLayer.hpp"
5#include <memory>
6
7namespace RGL{
8struct DeviceMTL;
9
10struct SamplerMTL : public ISampler{
11 OBJC_ID(MTLSamplerState) sampler = nullptr;
12
13 const std::shared_ptr<DeviceMTL> owningDevice;
14 SamplerMTL(decltype(owningDevice), const SamplerConfig&);
15};
16}
Definition Sampler.hpp:47
Definition Sampler.hpp:33
Definition MTLSampler.hpp:10