FCT
载入中...
搜索中...
未找到
TextureView.h
浏览该文件的文档.
1
//
2
// Created by Administrator on 2025/4/15.
3
//
4
#include "
../MutilThreadBase/RefCount.h
"
5
#ifndef FCT_RHI_TEXTUREVIEW_H
6
#define FCT_RHI_TEXTUREVIEW_H
7
namespace
FCT
8
{
9
namespace
RHI
10
{
11
class
Image
;
12
class
TextureView
:
public
RefCount
13
{
14
public
:
15
virtual
~TextureView
() =
default
;
16
void
image
(
RHI::Image
*
image
)
17
{
18
m_image
=
image
;
19
}
20
RHI::Image
*
image
()
const
21
{
22
return
m_image
;
23
}
24
virtual
void
create
() = 0;
25
protected
:
26
RHI::Image
*
m_image
;
27
};
28
}
29
}
30
#endif
//TEXTUREVIEW_H
RefCount.h
FCT::RHI::Image
定义
Image.h:17
FCT::RHI::TextureView
定义
TextureView.h:13
FCT::RHI::TextureView::image
RHI::Image * image() const
定义
TextureView.h:20
FCT::RHI::TextureView::m_image
RHI::Image * m_image
定义
TextureView.h:26
FCT::RHI::TextureView::image
void image(RHI::Image *image)
定义
TextureView.h:16
FCT::RHI::TextureView::~TextureView
virtual ~TextureView()=default
FCT::RHI::TextureView::create
virtual void create()=0
FCT::RefCount::RefCount
RefCount()
定义
RefCount.h:7
FCT::RHI
定义
CommandBufferGraph.h:14
FCT
定义
Enums.h:8
src
RHI
TextureView.h
制作者
1.14.0