ShitEngine 1.4.2
基于 C++20 与 SDL3 的轻量级 2D 游戏引擎
载入中...
搜索中...
未找到
ResourceTraits< Font >结构体 参考

#include <ResourceManager.h>

Public 类型

using KeyType = FontKey
using HashType = FontKeyHash

静态 Public 成员函数

static std::unique_ptr< Font > create (ResourceManager &owner, const KeyType &key)

静态 Public 属性

static constexpr std::string_view kTypeName = "字体"

成员类型定义说明

◆ HashType

◆ KeyType

using KeyType = FontKey

成员函数说明

◆ create()

std::unique_ptr< Font > create ( ResourceManager & owner,
const KeyType & key )
inlinestatic

类成员变量说明

◆ kTypeName

std::string_view kTypeName = "字体"
staticconstexpr

该结构体的文档由以下文件生成: