Generate a texture from tightly packed premultiplied RGBA bytes.
sourceUnshared width × height × 4 bytes; Buffer is accepted.
dimensionsPositive integer pixel dimensions.
Native GenerateTexture result.
Read native GetRenderManager while the callback interface is active.
The originating manager; its operations remain guarded.
Snapshot the current layer within the active nonempty scissor region.
Transfer an owned texture token, invoking native SetTextureHandle.
handleUntransferred token from the same manager.
dimensionsExact dimensions used when generating the token.
Rml::CallbackTextureInterface valid only during its generation callback.
Remarks
Only these scoped methods may enter native code during generation. Runtime, DOM, resource operations and recursive rendering are rejected. Returning false or throwing releases any submitted texture and caches the failure.