source: OGRE/trunk/ogre_dependencies/Dependencies/include/Cg/cg_enums.h @ 692

Revision 692, 3.7 KB checked in by mattausch, 19 years ago (diff)

adding ogre 1.2 and dependencies

Line 
1
2/*
3 *
4 * Copyright (c) 2002, NVIDIA Corporation.
5 *
6 * 
7 *
8 * NVIDIA Corporation("NVIDIA") supplies this software to you in consideration
9 * of your agreement to the following terms, and your use, installation,
10 * modification or redistribution of this NVIDIA software constitutes
11 * acceptance of these terms.  If you do not agree with these terms, please do
12 * not use, install, modify or redistribute this NVIDIA software.
13 *
14 * 
15 *
16 * In consideration of your agreement to abide by the following terms, and
17 * subject to these terms, NVIDIA grants you a personal, non-exclusive license,
18 * under NVIDIA’s copyrights in this original NVIDIA software (the "NVIDIA
19 * Software"), to use, reproduce, modify and redistribute the NVIDIA
20 * Software, with or without modifications, in source and/or binary forms;
21 * provided that if you redistribute the NVIDIA Software, you must retain the
22 * copyright notice of NVIDIA, this notice and the following text and
23 * disclaimers in all such redistributions of the NVIDIA Software. Neither the
24 * name, trademarks, service marks nor logos of NVIDIA Corporation may be used
25 * to endorse or promote products derived from the NVIDIA Software without
26 * specific prior written permission from NVIDIA.  Except as expressly stated
27 * in this notice, no other rights or licenses express or implied, are granted
28 * by NVIDIA herein, including but not limited to any patent rights that may be
29 * infringed by your derivative works or by other works in which the NVIDIA
30 * Software may be incorporated. No hardware is licensed hereunder.
31 *
32 * 
33 *
34 * THE NVIDIA SOFTWARE IS BEING PROVIDED ON AN "AS IS" BASIS, WITHOUT
35 * WARRANTIES OR CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING
36 * WITHOUT LIMITATION, WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT,
37 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, OR ITS USE AND OPERATION
38 * EITHER ALONE OR IN COMBINATION WITH OTHER PRODUCTS.
39 *
40 * 
41 *
42 * IN NO EVENT SHALL NVIDIA BE LIABLE FOR ANY SPECIAL, INDIRECT, INCIDENTAL,
43 * EXEMPLARY, CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, LOST
44 * PROFITS; PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
45 * PROFITS; OR BUSINESS INTERRUPTION) OR ARISING IN ANY WAY OUT OF THE USE,
46 * REPRODUCTION, MODIFICATION AND/OR DISTRIBUTION OF THE NVIDIA SOFTWARE,
47 * HOWEVER CAUSED AND WHETHER UNDER THEORY OF CONTRACT, TORT (INCLUDING
48 * NEGLIGENCE), STRICT LIABILITY OR OTHERWISE, EVEN IF NVIDIA HAS BEEN ADVISED
49 * OF THE POSSIBILITY OF SUCH DAMAGE.
50 *
51 */
52
53
54/*
55 * The following macro invocations define the supported CG basic data types.
56 *
57 * The macros have the form :
58 *
59 *   CG_DATATYPE_MACRO(enum_name, enum_val)
60 *
61 *     enum_name     : The C enumerant name.
62 *     enum_val      : The enumerant value.
63 *   
64 */
65
66
67
68CG_ENUM_MACRO(CG_UNKNOWN, 4096)
69CG_ENUM_MACRO(CG_IN, 4097)
70CG_ENUM_MACRO(CG_OUT, 4098)
71CG_ENUM_MACRO(CG_INOUT, 4099)
72CG_ENUM_MACRO(CG_MIXED, 4100)
73CG_ENUM_MACRO(CG_VARYING, 4101)
74CG_ENUM_MACRO(CG_UNIFORM, 4102)
75CG_ENUM_MACRO(CG_CONSTANT, 4103)
76CG_ENUM_MACRO(CG_PROGRAM_SOURCE, 4104)
77CG_ENUM_MACRO(CG_PROGRAM_ENTRY, 4105)
78CG_ENUM_MACRO(CG_COMPILED_PROGRAM, 4106)
79CG_ENUM_MACRO(CG_PROGRAM_PROFILE, 4107)
80CG_ENUM_MACRO(CG_GLOBAL, 4108)
81CG_ENUM_MACRO(CG_PROGRAM, 4109)
82CG_ENUM_MACRO(CG_DEFAULT, 4110)
83CG_ENUM_MACRO(CG_ERROR, 4111)
84CG_ENUM_MACRO(CG_SOURCE, 4112)
85CG_ENUM_MACRO(CG_OBJECT, 4113)
86CG_ENUM_MACRO(CG_COMPILE_MANUAL, 4114)
87CG_ENUM_MACRO(CG_COMPILE_IMMEDIATE, 4115)
88CG_ENUM_MACRO(CG_COMPILE_LAZY, 4116)
89CG_ENUM_MACRO(CG_CURRENT, 4117)
90CG_ENUM_MACRO(CG_LITERAL, 4118)
91CG_ENUM_MACRO(CG_VERSION, 4119)
92
93#undef CG_ENUM_MACRO
94
95
Note: See TracBrowser for help on using the repository browser.