载入中...
搜索中...
未找到
DestructionDust.cpp
浏览该文件的文档.
35 "injectFog", [vm](CollapseDust* self, graphics::Volumetric* fog, float time, float density, float radius) {
42 cls.addFunc("updateDepthTexture", [vm](CollapseDust* self, graphics::Graphics* graphics, graphics::Texture* texture,
51 "prepareFog", [vm](CollapseDust* self, CollapseAnimation* clip, int dw, int dh, int gw, int gh, int gd) {
56 cls.addFunc("updateFog", [vm](CollapseDust* self, graphics::Volumetric* fog, graphics::Graphics* graphics,
The single Squirrel projection for common Result, Status and Value.
A structured explanation of a failed, degraded, or noteworthy result.
Definition Diagnostic.h:94
static Diagnostic error(DiagnosticCode code, std::string message, std::string path={})
Construct an error diagnostic with the standard error severity.
Definition Diagnostic.cpp:21
static Result failure(Status status)
Construct a failed result from a structured status.
Definition Result.h:196
CPU position-based free-volume fluid with a bounded spatial grid. @ownership Owns all particle state;...
Definition VolumeFluid.h:517
Owning gas presentation cache, independent of the source solver. @ownership Owns frames and depth scr...
Definition CollapseDust.h:47
Result< void > capture(const fluids::VolumeFluid &source, float seconds)
Capture gas particles, fading their final two seconds. @cost Linear in live particles,...
Definition CollapseDust.cpp:64
Optional fluid-backed destruction presentation module; no ECS systems or retained service links.
Definition DestructionDust.h:5
ssq::Table projectStatusResult(HSQUIRRELVM vm, const Status &status)
Project a checked native status that carries no payload.
Definition SquirrelBinding.cpp:524
ssq::Table projectResult(HSQUIRRELVM vm, Result< void > &&result)
Consume and project a void native Result using the common schema.
Definition SquirrelBinding.cpp:540
@ InvalidArgument