RavEngine
Loading...
Searching...
No Matches
MTLRenderPass.hpp
1
#pragma once
2
#include <RGL/RenderPass.hpp>
3
#include "MTLObjCCompatLayer.hpp"
4
5
namespace
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
}
RGL::IRenderPass
Definition
RenderPass.hpp:29
RGL::RenderPassConfig
Definition
RenderPass.hpp:11
RGL::RenderPassMTL
Definition
MTLRenderPass.hpp:7
RGL::TextureView
Definition
Texture.hpp:43
RavEngine
deps
RGL
src
MTLRenderPass.hpp
Generated by
1.9.8