Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

gldeleteprogram(3g) [debian man page]

GLDELETEPROGRAM(3G)						  [FIXME: manual]					       GLDELETEPROGRAM(3G)

NAME
glDeleteProgram - Deletes a program object C SPECIFICATION
void glDeleteProgram(GLuint program); PARAMETERS
program Specifies the program object to be deleted. DESCRIPTION
glDeleteProgram frees the memory and invalidates the name associated with the program object specified by program. This command effectively undoes the effects of a call to glCreateProgram(). If a program object is in use as part of current rendering state, it will be flagged for deletion, but it will not be deleted until it is no longer part of current state for any rendering context. If a program object to be deleted has shader objects attached to it, those shader objects will be automatically detached but not deleted unless they have already been flagged for deletion by a previous call to glDeleteShader(). A value of 0 for program will be silently ignored. To determine whether a program object has been flagged for deletion, call glGetProgram() with arguments program and GL_DELETE_STATUS. ERRORS
GL_INVALID_VALUE is generated if program is not a value generated by OpenGL. ASSOCIATED GETS
glGet() with argument GL_CURRENT_PROGRAM glGetProgram() with arguments program and GL_DELETE_STATUS glIsProgram() SEE ALSO
glCreateShader(), glDetachShader(), glUseProgram() COPYRIGHT
Copyright (C) 2003-2005 3Dlabs Inc. Ltd. This material may be distributed subject to the terms and conditions set forth in the Open Publication License, v 1.0, 8 June 1999. http://opencontent.org/openpub/. [FIXME: source] 05/30/2012 GLDELETEPROGRAM(3G)

Check Out this Related Man Page

GLDELETEPROGRAM(3G)						    OpenGL 3.3						       GLDELETEPROGRAM(3G)

NAME
glDeleteProgram - Deletes a program object C SPECIFICATION
void glDeleteProgram(GLuint program); PARAMETERS
program Specifies the program object to be deleted. DESCRIPTION
glDeleteProgram frees the memory and invalidates the name associated with the program object specified by program. This command effectively undoes the effects of a call to glCreateProgram(). If a program object is in use as part of current rendering state, it will be flagged for deletion, but it will not be deleted until it is no longer part of current state for any rendering context. If a program object to be deleted has shader objects attached to it, those shader objects will be automatically detached but not deleted unless they have already been flagged for deletion by a previous call to glDeleteShader(). A value of 0 for program will be silently ignored. To determine whether a program object has been flagged for deletion, call glGetProgram() with arguments program and GL_DELETE_STATUS. ERRORS
GL_INVALID_VALUE is generated if program is not a value generated by OpenGL. ASSOCIATED GETS
glGet() with argument GL_CURRENT_PROGRAM glGetProgram() with arguments program and GL_DELETE_STATUS glIsProgram() SEE ALSO
glCreateShader(), glDetachShader(), glUseProgram() COPYRIGHT
Copyright (C) 2003-2005 3Dlabs Inc. Ltd. This material may be distributed subject to the terms and conditions set forth in the Open Publication License, v 1.0, 8 June 1999. http://opencontent.org/openpub/. OpenGL 3.3 03/08/2011 GLDELETEPROGRAM(3G)
Man Page

7 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Need Help

new to unix programming havent got a clue and have to write a program for an asignmentit goes as follows write a program to takes 2 subdirectories as arguments say archarea and myarch, the program must look at eachfile in my area and if it does not existin archarea or is newer than the version in... (5 Replies)
Discussion started by: Happyaf
5 Replies

2. UNIX for Dummies Questions & Answers

large file deletion

OS: Solaris 8 I deleted a large file (around 13 Gigs) from my system. But the output of df -k remains the same. The capacity % is constant. However one strange thing is happening- My available space is decreasing, my used space in increasing (The opposite should happen). This is happening... (2 Replies)
Discussion started by: run_time_error
2 Replies

3. UNIX for Dummies Questions & Answers

vi: deleted text not placed in register

I always thought that deleted text get stacked in the register. Then I can use '<x>p' to undelete, where <x> the number of the nth deletion. But when I try this it seems that only the last delete action get stored. Am I missing some kind of setting? (3 Replies)
Discussion started by: maxporter
3 Replies

4. HP-UX

backspace deletion hpux 11i

how i can enable backspace or charector deletion in hpux11i shell prompt. (12 Replies)
Discussion started by: jestinabel
12 Replies

5. Forum Support Area for Unregistered Users & Account Problems

deletion ofsunburntYux

Could you please close SunburntYux as I would like to use the emaill address on this account to register FloridaBSD, (0 Replies)
Discussion started by: SunBurntYux
0 Replies

6. Shell Programming and Scripting

Files Deletion After 20 Minutes

Hi, everyone. Could you help me with deletion of files, which are 20 minutes old. I found out how to make deletion for files in that way : find <dir> -mtime n -exec rm -rf "{}" Could you offer your suggestions. Many thanks in advance. (5 Replies)
Discussion started by: KReoN
5 Replies

7. Programming

call program

I would need to call the program 'ethtool' in my C++ program, does anyone know how to do that (if its even possible)? (1 Reply)
Discussion started by: Freaky123
1 Replies