Go to: Synopsis. Return value. Keywords. Flags. MEL examples. 
      
       openGLExtension [-extension string] [-renderer] [-vendor] [-version]   
      openGLExtension is NOT undoable, NOT queryable, and NOT editable.
      Command returns the extension name depending on whether a given
OpenGL extension is supported or not. The input is the
extension string to the -extension flag.
If the -extension flag is not used, or if
the string argument to this flag is an empty string
than all extension names are returned in a single string.
If the extension exists it is not necessary true that
the extension is supported.
This command can only be used when a modeling
view has been created. Otherwise no extensions
will have been initialized and the resulting
string will always be the empty string.
	  
      
      | string | The supported string(s) | 
      OpenGL, GL, extensions
      
      
    
      extension, renderer, vendor, version
      
		
		  | Long name (short name) | Argument types | Properties | 
		
	
	  | -extension(-ext) | string |   | 
	
	  | 
	      
		|  | Specifies the OpenGL extension to query. |  | 
	
	  | -version(-ver) |  |   | 
	
	  | 
	      
		|  | Specifies to query the OpenGL version. |  | 
	
	  | -renderer(-rnd) |  |   | 
	
	  | 
	      
		|  | Specifies to query the OpenGL renderer. |  | 
	
	  | -vendor(-vnd) |  |   | 
	
	  | 
	      
		|  | Specifies to query the company responsible for the OpenGL implementation. |  | 
      
      
		
		  
			|  Flag can appear in Create mode of command |  Flag can appear in Edit mode of command | 
		  
			|  Flag can appear in Query mode of command |  Flag can be used more than once in a command. | 
		
// Query for the multitexturing extension GL_ARB_multitexture
openGLExtension -extension "GL_ARB_multitexture";
// Query for all the extensions
openGLExtension -extension "";
// Query for the renderer name
openGLExtension -renderer;
// Query for the vendor
openGLExtension -vendor;
// Query for the OpenGL version
openGLExtension -version;