Main | API | WebRender | getVBOId

Function

getVBOId();

Allocates a position for a new vertex buffer and returns it's referencing id.

Parameters

None.

Return

id - [Unsigned Integer]

The reference id of the vertex buffer that was allocated.

Description

This is the first step in creating a vertex buffer. The id returned is then used by your application to update the vertex with other functions and to draw the vertices to screen.

See more detailed information about vertex buffers here.

Additional Notes

None.