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