RavEngine
Loading...
Searching...
No Matches
MTLRenderPass.hpp
1#pragma once
2#include <RGL/RenderPass.hpp>
3#include "MTLObjCCompatLayer.hpp"
4
5namespace RGL{
6 struct ITexture;
7 struct RenderPassMTL : public IRenderPass{
8 APPLE_API_PTR(MTLRenderPassDescriptor) renderPassDescriptor = nullptr;
9 RenderPassMTL(const RenderPassConfig& config);
10 virtual ~RenderPassMTL(){}
11 void SetAttachmentTexture(uint32_t index, const TextureView& texture) final;
12
13 void SetDepthAttachmentTexture(const TextureView& texture) final;
14 void SetStencilAttachmentTexture(const TextureView& texture) final;
15 };
16
17}
Definition RenderPass.hpp:29
Definition RenderPass.hpp:11
Definition MTLRenderPass.hpp:7
Definition Texture.hpp:43