FCT
载入中...
搜索中...
未找到
Win32_Runtime.cpp
浏览该文件的文档.
1
#include "
../FCTAPI.h
"
2
3
namespace
FCT
{
4
struct
Win32_RuntimeCommon
:
public
RuntimeCommon
{
5
6
};
7
void
Runtime::init
() {
8
g_common
=
FCT_NEW
(
Win32_RuntimeCommon
);
9
}
10
void
Runtime::term
() {
11
FCT_DELETE
(
g_common
);
12
}
13
14
Window
*
Runtime::createWindow
()
15
{
16
#ifdef FCT_USE_GLFW
17
Window* window =
FCT_NEW
(GLFW_Window,
g_common
->glfwUICommon,
this
);
18
return
window;
19
#endif
20
}
21
22
Context
*
Runtime::createContext
()
23
{
24
return
FCT_NEW
(VK_Context,
g_common
->vkContextCommon);
25
}
26
27
ImageLoader
*
Runtime::createImageLoader
()
28
{
29
return
FCT_NEW
(
FreeImage_ImageLoader
);
30
}
31
32
}
FCTAPI.h
FCT_NEW
#define FCT_NEW(type,...)
定义
MemoryCheak.h:162
FCT_DELETE
#define FCT_DELETE(args)
定义
MemoryCheak.h:164
FCT::Context
定义
Context.h:98
FCT::FreeImage_ImageLoader
定义
FreeImage_ImageLoader.h:8
FCT::ImageLoader
定义
ImageLoader.h:8
FCT::Runtime::term
void term()
定义
Android_Runtime.cpp:56
FCT::Runtime::createImageLoader
ImageLoader * createImageLoader()
定义
Win32_Runtime.cpp:27
FCT::Runtime::init
void init()
定义
Android_Runtime.cpp:52
FCT::Runtime::g_common
RuntimeCommon * g_common
定义
runtime.h:95
FCT::Runtime::createContext
Context * createContext()
定义
Android_Runtime.cpp:72
FCT::Runtime::createWindow
Window * createWindow()
定义
Android_Runtime.cpp:68
FCT::Window
定义
Window.h:66
FCT
定义
Enums.h:8
FCT::RuntimeCommon
定义
runtime.h:16
FCT::Win32_RuntimeCommon
定义
Win32_Runtime.cpp:4
src
Runtime
Win32_Runtime.cpp
制作者
1.14.0