载入中...
搜索中...
未找到
Mesh.h
浏览该文件的文档.
112 [[nodiscard]] Result<void> setMorphNormalDeltas(std::string_view name, std::span<const float> deltas);
153 [[nodiscard]] Result<void> setTangentFrame(std::span<const float> tangents, std::span<const float> bitangents);
170 [[nodiscard]] Result<void> adoptTangentFrame(std::vector<float> &&tangents, std::vector<float> &&bitangents);
224 [[nodiscard]] Result<void> validateVegetationDeformationFactors(std::span<const float> values) const;
233 [[nodiscard]] std::span<const float> vegetationDeformationFactors() const { return vegetationDeformationFactors_; }
Move-only, checked operation results for the common layer.
Definition Graphics.h:134
uint64_t geometryGeneration() const
Native upload generation; changes on each position upload, owner thread only.
Definition Mesh.h:79
void markGpuSkinned(bool value) noexcept
Mark whether the backend vertex stream contains skin attributes.
Definition Mesh.h:44
uint64_t tangentFrameRevision() const
Tangent-frame mutation identity; zero disables revision caching after exhaustion. @thread Render thre...
Definition Mesh.h:241
std::span< const float > motionHighlights() const
Borrow motion-highlight scalars until replacement or mesh destruction.
Definition Mesh.h:195
uint64_t texcoordRevision() const
Revision used to invalidate backend UV uploads after a channel changes.
Definition Mesh.h:53
int getSkinPaletteCount() const noexcept
Number of matrices in the current skinning palette.
Definition Mesh.h:35
std::span< const float > vegetationDeformationFactors() const
Borrow TVE rest-deformation data until mesh mutation or destruction.
Definition Mesh.h:233
bool hasBounds() const
True when a valid bounding sphere is available for culling.
Definition Mesh.h:66
bool hasGpuSkinning() const noexcept
True after joint and weight data has been uploaded for GPU skinning.
Definition Mesh.h:33
std::span< const float > vegetationFactors() const
Borrow interleaved variation/occlusion pairs until mesh mutation or destruction.
Definition Mesh.h:214
const std::vector< float > & skinPalette() const noexcept
Packed column-major matrix palette used by graphics backends.
Definition Mesh.h:42
卡牌游戏 UI 工具模块:工厂 + 脚本绑定入口。 功能参考 ycarowr/UiCard:扇形手牌布局、抽牌/洗牌、悬浮放大、拖拽到落牌区、 敌方手牌(背面/偷看)、费用不足置灰,以及可实时调节的布局...
Definition Animation.h:25