Static ReadonlycommandNumber of float32 fields per command, including reserved fields.
StaticallocateAllocate zeroed Native-owned records for direct shared writes.
countCommand capacity.
Writable records, retained independently of runtime lifetime.
StaticappendSubmit command records once; validation precedes all geometry writes.
meshOwned mesh receiving appended geometry.
commandsComplete command records.
countOptionalPrefix to execute; defaults to all records.
Each record contains 40 floats. Field 0 selects quad=0, line=1, background=2 or background-border=3. Quad/line fields 1–4 are x,y,width, height; 5–8 are premultiplied RGBA. Quad fields 9–12 are u0,v0,u1,v1. Background fields 1–12 are fill x/y, border offset x/y, four widths and four radii in RenderBox order; 13–16 are background RGBA. Border fields 17–32 contain four RGBA colours in top/right/bottom/left order. Remaining fields are reserved and ignored. Buffers cannot be detached or backed by concurrently shared memory.
StaticgenerateAppend native background geometry, including rounded corners.
meshDestination mesh.
boxRendering-box snapshot.
colourPremultiplied background RGBA.
StaticgenerateAppend native rounded background and per-edge border geometry.
meshDestination mesh.
boxRendering-box snapshot.
backgroundColourBackground RGBA; zero alpha omits the background.
borderColoursTop, right, bottom, left premultiplied RGBA.
StaticgenerateAppend a native line after snapping both edges to the pixel grid.
meshDestination mesh.
positionLine origin.
sizeLine size.
colourPremultiplied RGBA bytes.
StaticgenerateAppend a native quad with optional texture coordinates.
meshDestination mesh.
originQuad origin.
dimensionsQuad size.
colourPremultiplied RGBA bytes.
topLeftTexcoordTop-left UV, default (0,0).
U texture coordinate at the top-left corner.
V texture coordinate at the top-left corner.
bottomRightTexcoordBottom-right UV, default (1,1).
U texture coordinate at the bottom-right corner.
V texture coordinate at the bottom-right corner.
Rml::MeshUtilities with Native geometry generation and batch submission.
Remarks
Operations append in order. Native reserves storage once per batch, retaining previous exported views in old storage. Without retained views, append reuses the mesh and grows capacity geometrically.