载入中...
搜索中...
未找到
SourceBc3.h
浏览该文件的文档.
1#pragma once
2#include <cstdint>
3#include <span>
4#include <vector>
5#include "common/Export.h"
6#include "common/Result.h"
7
8namespace eve::asset::detail {
17[[nodiscard]] EVENGINE_API_FOUNDATION Result<std::vector<std::uint8_t>> decodeBc3Rgba8(
18 std::span<const std::uint8_t> bytes, std::uint32_t width, std::uint32_t height, std::uint64_t maximumDecodedBytes);
19} // namespace eve::asset::detail
#define EVENGINE_API_FOUNDATION
每个链接组(link group)各自的导出宏。
Definition Export.h:106
std::uint32_t height
std::uint32_t width
std::uint64_t bytes
Move-only, checked operation results for the common layer.
Result< std::vector< std::uint8_t > > decodeBc3Rgba8(std::span< const std::uint8_t > bytes, std::uint32_t width, std::uint32_t height, std::uint64_t maximumDecodedBytes)
Decode one BC3/DXT5 mip level into tightly packed RGBA8 in source row order.
Definition SourceBc3.cpp:6