FCT
载入中...
搜索中...
未找到
DepthStencilView.h
浏览该文件的文档.
1
//
2
// Created by Administrator on 2025/4/16.
3
//
4
#include "
../MutilThreadBase/RefCount.h
"
5
#ifndef FCT_RHI_DEPTHSTENCILVIEW_H
6
#define FCT_RHI_DEPTHSTENCILVIEW_H
7
namespace
FCT
8
{
9
namespace
RHI
10
{
11
class
Image
;
12
class
DepthStencilView
:
public
RefCount
13
{
14
public
:
15
virtual
~DepthStencilView
() =
default
;
16
17
void
image
(
RHI::Image
*
image
)
18
{
19
m_image
=
image
;
20
}
21
22
RHI::Image
*
image
()
const
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
RefCount.h
FCT::RHI::DepthStencilView
定义
DepthStencilView.h:13
FCT::RHI::DepthStencilView::create
virtual bool create()=0
FCT::RHI::DepthStencilView::~DepthStencilView
virtual ~DepthStencilView()=default
FCT::RHI::DepthStencilView::m_image
RHI::Image * m_image
定义
DepthStencilView.h:30
FCT::RHI::DepthStencilView::image
RHI::Image * image() const
定义
DepthStencilView.h:22
FCT::RHI::DepthStencilView::image
void image(RHI::Image *image)
定义
DepthStencilView.h:17
FCT::RHI::Image
定义
Image.h:17
FCT::RefCount::RefCount
RefCount()
定义
RefCount.h:7
FCT::RHI
定义
CommandBufferGraph.h:14
FCT
定义
Enums.h:8
src
RHI
DepthStencilView.h
制作者
1.14.0