core  array_cache  math  swrast  swrast_setup  tnl  tnl_dd 
Main Page   Data Structures   File List   Data Fields   Globals   Related Pages  

get.h File Reference

State query functions. More...

#include "mtypes.h"

Functions

void GLAPIENTRY _mesa_GetBooleanv (GLenum pname, GLboolean *params)
 Get the value(s) of a selected parameter. More...

void GLAPIENTRY _mesa_GetDoublev (GLenum pname, GLdouble *params)
 Get the value(s) of a selected parameter. More...

void GLAPIENTRY _mesa_GetFloatv (GLenum pname, GLfloat *params)
 Get the value(s) of a selected parameter. More...

void GLAPIENTRY _mesa_GetIntegerv (GLenum pname, GLint *params)
 Get the value(s) of a selected parameter. More...

void GLAPIENTRY _mesa_GetPointerv (GLenum pname, GLvoid **params)
 Get the address of a selected pointer. More...

const GLubyte *GLAPIENTRY _mesa_GetString (GLenum name)
 Get a string describing the current GL connection. More...

GLenum GLAPIENTRY _mesa_GetError (void)
 Execute a glGetError() command. More...


Detailed Description

State query functions.


Function Documentation

void GLAPIENTRY _mesa_GetBooleanv GLenum    pname,
GLboolean *    params
 

Get the value(s) of a selected parameter.

Parameters:
pname  parameter to be returned.
params  will hold the value(s) of the speficifed parameter.
See also:
glGetBooleanv().
Tries to get the specified parameter via dd_function_table::GetBooleanv, otherwise gets the specified parameter from the current context, converting it value into GLboolean.

void GLAPIENTRY _mesa_GetDoublev GLenum    pname,
GLdouble *    params
 

Get the value(s) of a selected parameter.

Parameters:
pname  parameter to be returned.
params  will hold the value(s) of the speficifed parameter.
See also:
glGetDoublev().
Tries to get the specified parameter via dd_function_table::GetDoublev, otherwise gets the specified parameter from the current context, converting it value into GLdouble.

GLenum GLAPIENTRY _mesa_GetError void   
 

Execute a glGetError() command.

Returns:
error number.
Returns __GLcontextRec::ErrorValue.

void GLAPIENTRY _mesa_GetFloatv GLenum    pname,
GLfloat *    params
 

Get the value(s) of a selected parameter.

Parameters:
pname  parameter to be returned.
params  will hold the value(s) of the speficifed parameter.
See also:
glGetFloatv().
Tries to get the specified parameter via dd_function_table::GetFloatv, otherwise gets the specified parameter from the current context, converting it value into GLfloat.

void GLAPIENTRY _mesa_GetIntegerv GLenum    pname,
GLint *    params
 

Get the value(s) of a selected parameter.

Parameters:
pname  parameter to be returned.
params  will hold the value(s) of the speficifed parameter.
See also:
glGetIntegerv().
Tries to get the specified parameter via dd_function_table::GetIntegerv, otherwise gets the specified parameter from the current context, converting it value into GLinteger.

void GLAPIENTRY _mesa_GetPointerv GLenum    pname,
GLvoid **    params
 

Get the address of a selected pointer.

Parameters:
pname  array or buffer to be returned.
params  will hold the pointer speficifed by pname.
See also:
glGetPointerv().
Tries to get the specified pointer via dd_function_table::GetPointerv, otherwise gets the specified pointer from the current context.

const GLubyte* GLAPIENTRY _mesa_GetString GLenum    name
 

Get a string describing the current GL connection.

Parameters:
name  name symbolic constant.
See also:
glGetString().
Tries to get the string from dd_function_table::GetString, otherwise returns the hardcoded strings.


Generated on Sun May 16 15:55:11 2004 for Mesa Core by doxygen1.2.13.1 written by Dimitri van Heesch, © 1997-2001