Main | API | WebRender | clearTBO

Function

clearTBO(tbo);

Clear the texture with the given id from in WebRender.

Parameters

tbo - [Unsigned Integer]

The id of the texture this is effecting. The id was provided by getTBOId.

Return

None.

Description

This allows for textures stored in WebRender to be 'deleted' once they are longer needed. The texture data is set to null and will be completely deleted by garbage collection. The id can then be reused on a new texture if needed.

See more detailed information about textures here.

Additional Notes

None.