FCT
载入中...
搜索中...
未找到
FencePool.h
浏览该文件的文档.
1
//
2
// Created by Administrator on 2025/5/10.
3
//
4
5
#ifndef FCT_FENCEPOOL_H
6
#define FCT_FENCEPOOL_H
7
namespace
FCT
8
{
9
class
FencePool
10
{
11
public
:
12
virtual
~FencePool
() =
default
;
13
virtual
RHI::Fence
*
alloc
() = 0;
14
virtual
void
setDestroyCallback
(
const
std::function<
void
(
RHI::Fence
*)>& callback) = 0;
15
};
16
}
17
18
19
#endif
//FENCEPOOL_H
FCT::FencePool
定义
FencePool.h:10
FCT::FencePool::~FencePool
virtual ~FencePool()=default
FCT::FencePool::alloc
virtual RHI::Fence * alloc()=0
FCT::FencePool::setDestroyCallback
virtual void setDestroyCallback(const std::function< void(RHI::Fence *)> &callback)=0
FCT::RHI::Fence
定义
Fence.h:12
FCT
定义
Enums.h:8
src
Context
FencePool.h
制作者
1.14.0