home *** CD-ROM | disk | FTP | other *** search
/ Magazyn Amiga 5 / MA_Cover_5.iso / ppc / mesa / src / texture.h < prev    next >
Encoding:
C/C++ Source or Header  |  1998-01-31  |  2.3 KB  |  80 lines

  1. /* $Id: texture.h,v 1.8 1997/11/13 02:17:32 brianp Exp $ */
  2.  
  3. /*
  4.  * Mesa 3-D graphics library
  5.  * Version:  2.5
  6.  * Copyright (C) 1995-1997  Brian Paul
  7.  *
  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.
  12.  *
  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.
  17.  *
  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.
  21.  */
  22.  
  23.  
  24. /*
  25.  * $Log: texture.h,v $
  26.  * Revision 1.8  1997/11/13 02:17:32  brianp
  27.  * added a few const keywords
  28.  *
  29.  * Revision 1.7  1997/05/03 00:53:56  brianp
  30.  * all-new texture sampling via gl_texture_object's SampleFunc pointer
  31.  *
  32.  * Revision 1.6  1997/04/14 02:02:39  brianp
  33.  * moved many functions into new texstate.c file
  34.  *
  35.  * Revision 1.5  1997/02/09 18:53:14  brianp
  36.  * added GL_EXT_texture3D support
  37.  *
  38.  * Revision 1.4  1997/01/09 19:48:58  brianp
  39.  * added gl_texturing_enabled()
  40.  *
  41.  * Revision 1.3  1996/11/14 01:03:09  brianp
  42.  * removed const's from gl_texgen() function to avoid VMS compiler warning
  43.  *
  44.  * Revision 1.2  1996/11/08 02:20:09  brianp
  45.  * gl_do_texgen() replaced with gl_texgen()
  46.  *
  47.  * Revision 1.1  1996/09/13 01:38:16  brianp
  48.  * Initial revision
  49.  *
  50.  */
  51.  
  52.  
  53. #ifndef TEXTURE_H
  54. #define TEXTURE_H
  55.  
  56.  
  57. #include "types.h"
  58.  
  59.  
  60. extern void gl_texgen( GLcontext *ctx, GLint n,
  61.                        GLfloat obj[][4], GLfloat eye[][4],
  62.                        GLfloat normal[][3], GLfloat texcoord[][4] );
  63.  
  64.  
  65.  
  66. extern void gl_set_texture_sampler( struct gl_texture_object *t );
  67.  
  68.  
  69.  
  70. extern void gl_texture_pixels( GLcontext *ctx, GLuint n,
  71.                                const GLfloat s[], const GLfloat t[],
  72.                                const GLfloat r[],
  73.                                const GLfloat lambda[],
  74.                                GLubyte red[], GLubyte green[],
  75.                                GLubyte blue[], GLubyte alpha[] );
  76.  
  77.  
  78. #endif
  79.  
  80.