Skip to content

Glsl_shader_free

hugh greene edited this page Jun 20, 2022 · 1 revision

Notation

Description

NOTE: The shader will not actually be destroyed until the program it is attached to is also destroyed. Frees the memory of a given shader.

Parameters

  • id: index of the shader to free the memory of

Return Values

none: This function has no return values.

Example Call

// demonstrates freeing a shader from memory
shader_free(mysh);

NOTOC

Category:Function:All

Clone this wiki locally