FCT
载入中...
搜索中...
未找到
DepthStencilView.h
浏览该文件的文档.
1//
2// Created by Administrator on 2025/4/16.
3//
5#ifndef FCT_RHI_DEPTHSTENCILVIEW_H
6#define FCT_RHI_DEPTHSTENCILVIEW_H
7namespace FCT
8{
9 namespace RHI
10 {
11 class Image;
13 {
14 public:
15 virtual ~DepthStencilView() = default;
16
18 {
19 m_image = image;
20 }
21
23 {
24 return m_image;
25 }
26
27 virtual bool create() = 0;
28
29 protected:
30 RHI::Image* m_image = nullptr;
31 };
32 }
33}
34#endif //FCT_RHI_DEPTHSTENCILVIEW_H
virtual bool create()=0
virtual ~DepthStencilView()=default
void image(RHI::Image *image)