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
7
namespace
RGL{
8
struct
DeviceMTL;
9
10
struct
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
}
RGL::ISampler
Definition
Sampler.hpp:47
RGL::SamplerConfig
Definition
Sampler.hpp:33
RGL::SamplerMTL
Definition
MTLSampler.hpp:10
RavEngine
deps
RGL
src
MTLSampler.hpp
Generated by
1.9.8