DrawList.allocate

Allocates the given mesh in the draw list, allowing its contents to be reused in draw commands.

class DrawList
@nogc
allocate
(,
uint[] idx
)

Parameters

vtx VtxData[]

Vertex data to push.

idx uint[]

Index data to push.

Return Value

A reference to the drawlist allocation on success, null otherwise.

Meta