ReactOS 0.4.15-dev-8339-g4028de8
texture.h
Go to the documentation of this file.
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
60extern void gl_texgen( GLcontext *ctx, GLint n,
61 GLfloat obj[][4], GLfloat eye[][4],
62 GLfloat normal[][3], GLfloat texcoord[][4] );
63
64
65
66extern void gl_set_texture_sampler( struct gl_texture_object *t );
67
68
69
71 const GLfloat s[], const GLfloat t[],
72 const GLfloat r[],
73 const GLfloat lambda[],
76
77
78#endif
79
unsigned char GLubyte
Definition: gl.h:157
float GLfloat
Definition: gl.h:161
GLclampf green
Definition: gl.h:1740
GLclampf GLclampf GLclampf alpha
Definition: gl.h:1740
GLdouble s
Definition: gl.h:2039
unsigned int GLuint
Definition: gl.h:159
GLdouble GLdouble GLdouble r
Definition: gl.h:2055
GLclampf GLclampf blue
Definition: gl.h:1740
GLdouble GLdouble t
Definition: gl.h:2047
int GLint
Definition: gl.h:156
GLdouble n
Definition: glext.h:7729
#define red
Definition: linetest.c:67
@ normal
Definition: optimize.h:166
void gl_texgen(GLcontext *ctx, GLint n, GLfloat obj[][4], GLfloat eye[][4], GLfloat normal[][3], GLfloat texcoord[][4])
Definition: texture.c:163
void gl_texture_pixels(GLcontext *ctx, GLuint n, const GLfloat s[], const GLfloat t[], const GLfloat r[], const GLfloat lambda[], GLubyte red[], GLubyte green[], GLubyte blue[], GLubyte alpha[])
Definition: texture.c:1678
void gl_set_texture_sampler(struct gl_texture_object *t)
Definition: texture.c:1319