RavEngine
Loading...
Searching...
No Matches
MTLPipeline.hpp
1
#pragma once
2
#include <RGL/Types.hpp>
3
#include "MTLObjCCompatLayer.hpp"
4
#include <RGL/Pipeline.hpp>
5
#include <unordered_map>
6
7
namespace
RGL{
8
struct
DeviceMTL;
9
10
struct
PipelineLayoutMTL
:
public
IPipelineLayout
{
11
12
PipelineLayoutDescriptor
settings;
13
PipelineLayoutMTL
(
const
decltype
(settings)& settings);
14
15
std::unordered_map<uint32_t, uint32_t> samplerBindingsMap;
16
};
17
18
struct
RenderPipelineMTL
:
public
IRenderPipeline
{
19
OBJC_ID(MTLRenderPipelineState) pipelineState;
20
OBJC_ID(MTLDepthStencilState) depthStencilState =
nullptr
;
21
const
std::shared_ptr<DeviceMTL> owningDevice;
22
RenderPipelineDescriptor
settings;
23
APPLE_API_TYPE(MTLTriangleFillMode) currentFillMode;
24
RenderPipelineMTL
(
decltype
(owningDevice),
const
RenderPipelineDescriptor
&);
25
};
26
27
}
RGL::IPipelineLayout
Definition
Pipeline.hpp:103
RGL::IRenderPipeline
Definition
Pipeline.hpp:274
RGL::PipelineLayoutDescriptor
Definition
Pipeline.hpp:59
RGL::PipelineLayoutMTL
Definition
MTLPipeline.hpp:10
RGL::RenderPipelineDescriptor
Definition
Pipeline.hpp:164
RGL::RenderPipelineMTL
Definition
MTLPipeline.hpp:18
RavEngine
deps
RGL
src
MTLPipeline.hpp
Generated by
1.9.8