1 /*
2  *   GRacer
3  *
4  *   Copyright (C) 1999 Takashi Matsuda <matsu@users.sourceforge.net>
5  *
6  * This program is free software; you can redistribute it and/or
7  * modify it under the terms of the GNU General Public License as
8  * published by the Free Software Foundation; either version 2 of the
9  * License, or (at your option) any later version.
10  *
11  * This program is distributed in the hope that it will be useful,
12  * but WITHOUT ANY WARRANTY; without even the implied warranty of
13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14  * GNU General Public License for more details.
15  *
16  * You should have received a copy of the GNU General Public License
17  * along with this program; if not, write to the Free Software
18  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
19  * USA
20  */
21 
22 #ifndef __GRACER_OPTION_H__
23 #define __GRACER_OPTION_H__
24 
25 
26 typedef enum {
27   GR_OBJECT_NORMAL			= 1<<0,
28   GR_OBJECT_COLOR			= 1<<1,
29   GR_OBJECT_TEXTURE			= 1<<2,
30   GR_OBJECT_MIPMAP			= 1<<3,
31   GR_OBJECT_MATERIAL			= 1<<4,
32   GR_OBJECT_FLAT			= 1<<5,
33   GR_OBJECT_SMOOTH			= 1<<6,
34   GR_OBJECT_MAG_NEAREST			= 1<<7,
35   GR_OBJECT_MAG_LINEAR			= 1<<8,
36   GR_OBJECT_MIN_NEAREST			= 1<<9,
37   GR_OBJECT_MIN_LINEAR			= 1<<10,
38   GR_OBJECT_MIP_NEAREST			= 1<<11,
39   GR_OBJECT_MIP_LINEAR			= 1<<12,
40 
41   GR_OBJECT_DRAW			= 1<<13,
42 
43   GR_OBJECT_MAG_FILTER_MASK		= (GR_OBJECT_MAG_NEAREST|
44 					   GR_OBJECT_MAG_LINEAR),
45 
46   GR_OBJECT_MIN_FILTER_MASK		= (GR_OBJECT_MIN_NEAREST|
47 					   GR_OBJECT_MIN_LINEAR|
48 					   GR_OBJECT_MIP_NEAREST|
49 					   GR_OBJECT_MIP_LINEAR),
50 
51   GR_OBJECT_DEFAULT			= ~0,
52   GR_OBJECT_ALL				= ~0,
53 } GrObjectDrawOption;
54 
55 
56 #endif /* __GRACER_OPTION_H__ */
57