Skip to content

glAttachShader

Attaches a shader object to a program object

function glAttachShader(int $program, int $shader) : void
arguments
  1. int $program Specifies the program object to which a shader object will be attached.
  2. int $shader Specifies the shader object that is to be attached.
returns

void


Copyright © 2010-2014 Khronos Group

This material may be distributed subject to the terms and conditions set forth in the Open Publication License, v 1.0, 8 June 1999. https://opencontent.org/openpub/.