submit


Description:

public void submit ()

Submits all the user added attributes to the GPU; once submitted, the attributes can be used for drawing.

Note:

Use the CoglPrimitive api instead

You should aim to minimize calls to this function since it implies validating your data; it potentially incurs a transport cost (especially if you are using GLX indirect rendering) and potentially a format conversion cost if the GPU doesn't natively support any of the given attribute formats.

Parameters:

handle

A vertex buffer handle