chickadee » soil » texture-id/create-new-id

texture-id/create-new-idconstant

Passed in as the texture-id argument, this will cause soil to register a new texture ID using gl:gen-textures. If the value passed as a texture-id argument is greater than zero, then soil will just reuse that texture ID (great for reloading image assets in-game).