载入中...
搜索中...
未找到
CanonicalImageCook.h
浏览该文件的文档.
1#pragma once
2#include "common/Export.h"
3
4
7#include "common/Result.h"
8
9#include <cstdint>
10#include <span>
11#include <string>
12#include <vector>
13
14namespace eve::asset {
15
18 std::vector<std::uint8_t> definition;
19 std::vector<std::uint8_t> bulk;
20};
21
37 std::span<const std::uint8_t> definition, std::span<const std::uint8_t> encodedSource,
38 std::uint64_t maximumDecodedBytes);
39
40} // namespace eve::asset
#define EVENGINE_API_FOUNDATION
每个链接组(link group)各自的导出宏。
Definition Export.h:106
Move-only, checked operation results for the common layer.
Move-only operation result carrying either a value or Status.
Definition Result.h:155
Result< CookedCanonicalImage > cookCanonicalImageRgba8(std::span< const std::uint8_t > definition, std::span< const std::uint8_t > encodedSource, std::uint64_t maximumDecodedBytes)
Decode image/2 base images or image/3 explicit linear RGBA8 mip chains into bounded EVIMG.
Runtime definition and typed RGBA8 bulk generated from one canonical image source.
std::vector< std::uint8_t > definition
std::vector< std::uint8_t > bulk