Main | API | WebRender | getSBOId

Function

getSBOId();

Allocates a position for a new shader program 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 shader program. The id returned is then used by your application to update the shader with other functions.

See more detailed information about shaders here.

Additional Notes

None.