(
GLuint ( program ) , GLuint ( shader ))-> void
glAttachShader(
program , shader)
Parameters Variables Description programSpecifies the program object to which a shader object will be attached.
shaderSpecifies the shader object that is to be attached.
Sample Code ReferencesThe following code samples have been found which appear to reference the functions described here. Take care that the code may be old, broken or not even use PyOpenGL.
glAttachShader
OpenGLContext OpenGLContext/scenegraph/shaders.pyLines:
466 {LGPL} PyMT pymt/graphx/shader.pyLines:
12, 35, 40 {GPL3} OpenGL-Programmable 06-perpixel.pyLines:
95, 96 {GPL3} OpenGL-Programmable 09-gles2.pyLines:
115, 116 {GPL3} OpenGL-Programmable 10-gl3.2core.pyLines:
123, 124 {GPL3} OpenGL-Programmable 08-pbo.pyLines:
101, 102 {GPL3} OpenGL-Programmable 05-shader.pyLines:
87, 88 {GPL3} OpenGL-Programmable 07-attrib.pyLines:
101, 102RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4