core | glapi | vbo | math | shader | swrast | swrast_setup | tnl | tnl_dd

prog_uniform.h File Reference

#include "main/mtypes.h"
#include "prog_statevars.h"

Data Structures

struct  gl_uniform
 Shader program uniform variable. More...
struct  gl_uniform_list
 List of gl_uniforms. More...

Functions

struct gl_uniform_list_mesa_new_uniform_list (void)
void _mesa_free_uniform_list (struct gl_uniform_list *list)
struct gl_uniform_mesa_append_uniform (struct gl_uniform_list *list, const char *name, GLenum target, GLuint progPos)
GLint _mesa_lookup_uniform (const struct gl_uniform_list *list, const char *name)
 Return the location/index of the named uniform in the uniform list, or -1 if not found.
GLint _mesa_longest_uniform_name (const struct gl_uniform_list *list)
void _mesa_print_uniforms (const struct gl_uniform_list *list)


Function Documentation

struct gl_uniform* _mesa_append_uniform ( struct gl_uniform_list list,
const char *  name,
GLenum  target,
GLuint  progPos 
) [read]

void _mesa_free_uniform_list ( struct gl_uniform_list list  ) 

GLint _mesa_longest_uniform_name ( const struct gl_uniform_list list  ) 

GLint _mesa_lookup_uniform ( const struct gl_uniform_list list,
const char *  name 
)

Return the location/index of the named uniform in the uniform list, or -1 if not found.

struct gl_uniform_list* _mesa_new_uniform_list ( void   )  [read]

void _mesa_print_uniforms ( const struct gl_uniform_list list  ) 


Generated on Sun Sep 27 06:48:02 2009 for Mesa Vertex and Fragment Program code by  doxygen 1.5.4