Skip to content

Glsl_program_link

hugh greene edited this page Jun 20, 2022 · 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. Tells a given shader program to link and returns whether it was successful.

Parameters

  • id: index of the shader program to link

Return Values

bool: Returns (true or false) whether linking was successful.

Example Call

// demonstrates telling a shader program to link
shader_program_link(myshpr);

NOTOC

Category:Function:All

Clone this wiki locally