Program 
   
  Object Hierarchy: 
  
Cogl.Program 
 
Cogl.Program 
 
Cogl.Program 
 
 
 
Cogl.Handle 
 
Cogl.Handle 
 
 
 
Cogl.Handle->Cogl.Program 
 
 
 
 
 
 
  Description: 
  [ 
CCode  ( cname = 
"CoglHandle"  ,  ref_function = 
"cogl_program_ref"  ,  unref_function = 
"cogl_program_unref"  ) ]
[ 
Compact  ]
public  class  Program  : 
Handle  
   
  
  
  Content: 
  Static methods: 
  
    public  static  void  uniform_1f   (int   uniform_no, float   value)
       
      Changes the value of a floating point uniform in the currently used (see 
          use ) shader program. 
       
    public  static  void  uniform_1i   (int   uniform_no, int   value)
       
      Changes the value of an integer uniform in the currently used (see 
          use ) shader program. 
       
    public  static  void  uniform_float   (int   uniform_no, int   size, float  [] value)
       
      Changes the value of a float vector uniform, or uniform array in the
          currently used (see use ) shader program. 
       
    public  static  void  uniform_int   (int   uniform_no, int   size, int  [] value)
       
      Changes the value of a int vector uniform, or uniform array in the currently
          used (see use ) shader program. 
       
    public  static  void  uniform_matrix   (int   uniform_no, int   size, bool   transpose, float  [] value)
       
      Changes the value of a matrix uniform, or uniform array in the currently
          used (see use ) shader program. 
       
   
  Creation methods: 
  
  Methods: 
  
    public  void  attach_shader   (Shader   shader_handle)
       
      Attaches a shader to a program object. 
      
 
    public  int   get_uniform_location   (string   uniform_name)
       
      Retrieve the location (offset) of a uniform variable in a shader program, a
          uniform is a variable that is constant for all vertices/fragments for a shader object and is possible to modify as an external parameter.
         
      
 
    public  void  link   ()
       
      Links a program making it ready for use. 
      
 
    public  void  use   ()
       
      Activate a specific shader program replacing that part of the GL rendering
          pipeline, if passed in COGL_INVALID_HANDLE the default behavior of GL is reinstated. 
      
 
   
  Inherited Members: 
  
    All known members inherited from class Cogl.Handle