Glsl_program_create - hpgDesigns/hpgdesigns-dev.io GitHub Wiki

Notation

Description

Creates a shader program and returns the new index.

Parameters

  • none There are no parameters for this function.

Return Values

int: Returns the index of the newly created shader program.

Example Call

// demonstrates creating a new shader program
myshpr = shader_program_create();

NOTOC

Category:Function:All