载入中...
搜索中...
未找到
VegetationPacking.h
浏览该文件的文档.
1#pragma once
2#include <glm/vec3.hpp>
3#include <glm/vec4.hpp>
4#include <span>
5#include <vector>
6#include "common/Export.h"
7#include "common/Result.h"
8
9namespace eve::graphics {
10struct VegetationVertex;
16 glm::vec3 position{0.f}, normal{0.f, 1.f, 0.f};
17 glm::vec4 color{0.f, 1.f, 0.f, 0.f};
18 glm::vec4 texcoord0{0.f}, texcoord1{0.f}, texcoord3{0.f};
19};
25[[nodiscard]] EVENGINE_API_BACKENDS Result<std::vector<VegetationVertex>> decodeTveVegetationVertices(
26 std::span<const TvePackedVertex> vertices);
27} // namespace eve::graphics
#define EVENGINE_API_BACKENDS
Definition Export.h:108
std::vector< Point > vertices
Move-only, checked operation results for the common layer.
卡牌游戏 UI 工具模块:工厂 + 脚本绑定入口。 功能参考 ycarowr/UiCard:扇形手牌布局、抽牌/洗牌、悬浮放大、拖拽到落牌区、 敌方手牌(背面/偷看)、费用不足置灰,以及可实时调节的布局...
Definition Animation.h:25
Result< std::vector< VegetationVertex > > decodeTveVegetationVertices(std::span< const TvePackedVertex > vertices)
Decode TVE 12.x color/motion/bounds/detail/pivot packing to native rest vertices. Borrows input only ...
Immediate adapter input for TVE 12.x packed mesh streams, before UV truncation. This is an owning CPU...