Sese Framework
x.y.z
A cross-platform framework
|
静态资源 更多...
#include <Resource.h>
Public 类型 | |
using | Ptr = std::shared_ptr<Resource> |
Public 成员函数 | |
Resource (std::string name, const void *buf, size_t size) | |
ResourceStream::Ptr | getStream () |
const std::string & | getName () const |
size_t | getSize () const |
Protected 属性 | |
std::string | name {} |
const void * | buf {} |
size_t | size {} |
静态资源
using sese::res::Resource::Ptr = std::shared_ptr<Resource> |
sese::res::Resource::Resource | ( | std::string | name, |
const void * | buf, | ||
size_t | size ) |
|
inlinenodiscard |
|
inlinenodiscard |
sese::res::ResourceStream::Ptr sese::res::Resource::getStream | ( | ) |
|
protected |
|
protected |
被这些函数引用 getName().
|
protected |
被这些函数引用 getSize().