|
slot 0.0.1
A real time UI render framework
|
演示场景使用的草方块 RGBA8 纹理。 更多...
#include <BuiltinTexture.h>


Public 成员函数 | |
| GrassBlockTexture () | |
Public 成员函数 继承自 z8::BaseTexture | |
| BaseTexture () | |
| bool | Load (const std::wstring &path, std::string *error=nullptr) |
| bool | Validate () const |
Public 成员函数 继承自 z8::Resource | |
| virtual | ~Resource ()=default |
| bool | IsValid () const |
额外继承的成员函数 | |
Public 属性 继承自 z8::BaseTexture | |
| uint32_t | Height = 0 |
| uint32_t | Width = 0 |
| std::vector< std::byte > | Pixels |
Public 属性 继承自 z8::Resource | |
| std::string | Id |
| ResourceTy | Type = ResourceTy::None |
演示场景使用的草方块 RGBA8 纹理。
该类把规范 ID 和文件来源绑定为一个不可分割的资源描述,避免 注册端创建通用 Texture 后遗漏或改错 ID。
| GrassBlockTexture::GrassBlockTexture | ( | ) |
