Skip to content

Glsl_program_detach

hpgDesigns edited this page Aug 8, 2021 · 1 revision

Notation

Description

NOTE: Shader programs must be attached to shaders before they are linked and compiled, and they must be linked and validated before they can be used. Detaches a given shader from a given shader program.

Parameters

  • id: index of the shader program
  • sid: index of the shader

Return Values

none: This function has no return values.

Example Call

// demonstrates detaching a shader to a shader program
shader_program_detach(myshpr, mysh);

NOTOC

Category:Function:All

This is number 1

Clone this wiki locally