MeshMemblockVertexUV

Family: Memblock · One form

What it does

MeshMemblockVertexUV writes to a Memblock object: it sets rather than reads. It takes memID (an integer), vertexIndex (an integer), u (a float) and v (a float), and returns nothing. memID is the id of a memblock, the one CreateMemblock returned: it is how the call knows what to act on.

Syntax

MeshMemblockVertexUV(memID integer, vertexIndex integer, u float, v float)

Parameters

NameType
memIDinteger
vertexIndexinteger
ufloat
vfloat

Every form returns

nothing

Example · generated

memblock = CreateMemblock(64)MeshMemblockVertexUV(memblock, 1, 1.0, 1.0)DO  Sync()LOOP

CreateMemblock is there to give the call something to act on; MeshMemblockVertexUV is the line that matters. The DO … LOOP is not decoration: a classic BASIC program ends the moment it runs out of lines, and Sync() is what draws the frame.

43 commands in Memblock