载入中...
搜索中...
未找到
RenderableInstances.cpp
浏览该文件的文档.
9 if (!mr.mesh || !shader || shader->getKind() != Shader::Kind::eMesh3D || shader->isXray() || mr.usesParts() ||
static Diagnostic error(DiagnosticCode code, std::string message, std::string path={}, DiagnosticDetails details={}, std::string source={})
Construct an error diagnostic with the standard error severity.
Definition Diagnostic.h:125
static Result failure(Status status)
Construct a failed result from a structured status.
Definition Result.h:175
void clearInstanceRange()
Remove runtime instance metadata on the update thread; no callbacks.
Definition RenderableInstances.cpp:28
Result< void > setInstanceRange(const MeshInstanceRange &range)
Atomically set static instance range and bounds; render/update thread only. @ownership Metadata is co...
Definition RenderableInstances.cpp:19
@ eMesh3D
Result< void > validateInstancedRenderable(const Renderable3D::MeshRenderer &mr)
Validate instanced renderable.
Definition RenderableInstances.cpp:7
卡牌游戏 UI 工具模块:工厂 + 脚本绑定入口。 功能参考 ycarowr/UiCard:扇形手牌布局、抽牌/洗牌、悬浮放大、拖拽到落牌区、 敌方手牌(背面/偷看)、费用不足置灰,以及可实时调节的布局...
Definition Animation.h:25
Result< void > validateMeshInstanceRange(const MeshInstanceRange &range)
Worker-safe validation of value-owned range and culling metadata.
Definition MeshInstanceRange.cpp:8
@ Unsupported
Value-owned subset of a resource shader's static instances.
Definition MeshInstanceRange.h:15