载入中...
搜索中...
未找到
eve::procgen::ImageData结构体 参考
Small owning image product; raw pixels stay out of JSON metadata. 更多...
#include <GeneratedArtifact.h>
Public 成员函数 | |
| bool | isValid () const noexcept |
| Return whether dimensions and pixel storage describe an image. | |
Public 属性 | |
| int | width = 0 |
| int | height = 0 |
| int | channels = 0 |
| std::string | format |
| std::vector< std::uint8_t > | pixels |
详细描述
Small owning image product; raw pixels stay out of JSON metadata.
在文件 GeneratedArtifact.h 第 119 行定义.
成员函数说明
◆ isValid()
|
noexcept |
类成员变量说明
◆ channels
| int eve::procgen::ImageData::channels = 0 |
在文件 GeneratedArtifact.h 第 122 行定义.
被这些函数引用 isValid().
◆ format
| std::string eve::procgen::ImageData::format |
在文件 GeneratedArtifact.h 第 123 行定义.
被这些函数引用 isValid().
◆ height
| int eve::procgen::ImageData::height = 0 |
在文件 GeneratedArtifact.h 第 121 行定义.
被这些函数引用 isValid().
◆ pixels
| std::vector<std::uint8_t> eve::procgen::ImageData::pixels |
在文件 GeneratedArtifact.h 第 124 行定义.
被这些函数引用 isValid().
◆ width
| int eve::procgen::ImageData::width = 0 |
在文件 GeneratedArtifact.h 第 120 行定义.
被这些函数引用 isValid().
该结构体的文档由以下文件生成:
- src/modules/procgen/GeneratedArtifact.h
- src/modules/procgen/GeneratedArtifact.cpp