载入中...
搜索中...
未找到
PcgColorPreviewSync.cpp
浏览该文件的文档.
The single Squirrel projection for common Result, Status and Value.
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
Caller-owned highlighted-color snapshot ported from Pcg ColorPreviewSync.
Definition PcgColorPreviewSync.h:8
Result< void > sync(float red, float green, float blue, float alpha)
Synchronize from the source image color exactly as Pcg does on enable.
Definition PcgColorPreviewSync.cpp:6
ssq::Table projectResult(HSQUIRRELVM vm, Result< void > &&result)
Consume and project a void native Result using the common schema.
Definition SquirrelBinding.cpp:470
Definition Component.cpp:5
void exposePcgColorPreviewSyncBindings(ssq::Table &table)
Register Pcg color-preview bindings.
Definition PcgColorPreviewSync.cpp:17
@ InvalidArgument