1 /* $Id: texture.h,v 1.8 1997/11/13 02:17:32 brianp Exp $ */
4 * Mesa 3-D graphics library
6 * Copyright (C) 1995-1997 Brian Paul
8 * This library is free software; you can redistribute it and/or
9 * modify it under the terms of the GNU Library General Public
10 * License as published by the Free Software Foundation; either
11 * version 2 of the License, or (at your option) any later version.
13 * This library is distributed in the hope that it will be useful,
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16 * Library General Public License for more details.
18 * You should have received a copy of the GNU Library General Public
19 * License along with this library; if not, write to the Free
20 * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
26 * Revision 1.8 1997/11/13 02:17:32 brianp
27 * added a few const keywords
29 * Revision 1.7 1997/05/03 00:53:56 brianp
30 * all-new texture sampling via gl_texture_object's SampleFunc pointer
32 * Revision 1.6 1997/04/14 02:02:39 brianp
33 * moved many functions into new texstate.c file
35 * Revision 1.5 1997/02/09 18:53:14 brianp
36 * added GL_EXT_texture3D support
38 * Revision 1.4 1997/01/09 19:48:58 brianp
39 * added gl_texturing_enabled()
41 * Revision 1.3 1996/11/14 01:03:09 brianp
42 * removed const's from gl_texgen() function to avoid VMS compiler warning
44 * Revision 1.2 1996/11/08 02:20:09 brianp
45 * gl_do_texgen() replaced with gl_texgen()
47 * Revision 1.1 1996/09/13 01:38:16 brianp
60 extern void gl_texgen( GLcontext
*ctx
, GLint n
,
61 GLfloat obj
[][4], GLfloat eye
[][4],
62 GLfloat normal
[][3], GLfloat texcoord
[][4] );
66 extern void gl_set_texture_sampler( struct gl_texture_object
*t
);
70 extern void gl_texture_pixels( GLcontext
*ctx
, GLuint n
,
71 const GLfloat s
[], const GLfloat t
[],
73 const GLfloat lambda
[],
74 GLubyte red
[], GLubyte green
[],
75 GLubyte blue
[], GLubyte alpha
[] );