|
Estella 0.113.0
A fast 2D and 3D game engine powered by WebAssembly and ECS
|
#include <SkeletalModule.hpp>
Public Member Functions | |
| const char * | publish (const char *text) |
| template<class Fn> | |
| const char * | publishArray (int count, Fn nameAt) |
| ["a","b"] from an indexed getter — how name lists cross the boundary. | |
| std::string & | raw () |
Storage behind every const char* this module returns.
One buffer, overwritten per call: the SDK copies what it reads before calling again, which is the contract on both sides of the boundary.
Definition at line 258 of file SkeletalModule.hpp.
|
inline |
Definition at line 260 of file SkeletalModule.hpp.
|
inline |
["a","b"] from an indexed getter — how name lists cross the boundary.
Definition at line 267 of file SkeletalModule.hpp.
|
inline |
Direct access, for a shape the helpers above do not cover (the constraint map, say). Assign to it, then return c_str() — same lifetime rule.
Definition at line 282 of file SkeletalModule.hpp.