Skip to content

glDetachShader

Detaches a shader object from a program object to which it is attached

function glDetachShader(int $program, int $shader) : void
arguments
  1. int $program Specifies the program object from which to detach the shader object.
  2. int $shader Specifies the shader object to be detached.
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/.