• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*!****************************************************************************
2 
3  @file         OGLES2/PVRTPFXSemantics.h
4  @ingroup      API_OGLES2
5  @copyright    Copyright (c) Imagination Technologies Limited.
6  @brief  A list of supported PFX semantics.
7 
8 ******************************************************************************/
9 #ifndef PVRTPFXSEMANTICS_H
10 #define PVRTPFXSEMANTICS_H
11 
12 /*!
13  @addtogroup API_OGLES2
14  @{
15 */
16 
17 struct SPVRTPFXUniformSemantic;
18 
19 /****************************************************************************
20 ** Semantic Enumerations
21 ****************************************************************************/
22 
23 
24 /*!**************************************************************************
25  @enum         EPVRTPFXUniformSemantic
26  @brief        The default Shaman semantics.
27  ***************************************************************************/
28 enum EPVRTPFXUniformSemantic
29 {
30 	ePVRTPFX_UsPOSITION,                /*!< POSITION */
31 	ePVRTPFX_UsNORMAL,                  /*!< NORMAL */
32 	ePVRTPFX_UsTANGENT,                 /*!< TANGENT */
33 	ePVRTPFX_UsBINORMAL,                /*!< BINORMAL */
34 	ePVRTPFX_UsUV,                      /*!< UV */
35 	ePVRTPFX_UsVERTEXCOLOR,             /*!< VERTEXCOLOR */
36 	ePVRTPFX_UsBONEINDEX,               /*!< BONEINDEX */
37 	ePVRTPFX_UsBONEWEIGHT,              /*!< BONEWEIGHT */
38 
39 	ePVRTPFX_UsWORLD,                   /*!< WORLD */
40 	ePVRTPFX_UsWORLDI,                  /*!< WORLDI */
41 	ePVRTPFX_UsWORLDIT,                 /*!< WORLDIT */
42 	ePVRTPFX_UsVIEW,                    /*!< VIEW */
43 	ePVRTPFX_UsVIEWI,                   /*!< VIEWI */
44 	ePVRTPFX_UsVIEWIT,                  /*!< VIEWIT */
45 	ePVRTPFX_UsPROJECTION,              /*!< PROJECTION */
46 	ePVRTPFX_UsPROJECTIONI,             /*!< PROJECTIONI */
47 	ePVRTPFX_UsPROJECTIONIT,            /*!< PROJECTIONIT */
48 	ePVRTPFX_UsWORLDVIEW,               /*!< WORLDVIEW */
49 	ePVRTPFX_UsWORLDVIEWI,              /*!< WORLDVIEWI */
50 	ePVRTPFX_UsWORLDVIEWIT,             /*!< WORLDVIEWIT */
51 	ePVRTPFX_UsWORLDVIEWPROJECTION,     /*!< WORLDVIEWPROJECTION */
52 	ePVRTPFX_UsWORLDVIEWPROJECTIONI,    /*!< WORLDVIEWPROJECTIONI */
53 	ePVRTPFX_UsWORLDVIEWPROJECTIONIT,   /*!< WORLDVIEWPROJECTIONIT */
54 	ePVRTPFX_UsVIEWPROJECTION,          /*!< VIEWPROJECTION */
55 	ePVRTPFX_UsVIEWPROJECTIONI,         /*!< VIEWPROJECTIONI */
56 	ePVRTPFX_UsVIEWPROJECTIONIT,        /*!< VIEWPROJECTIONIT */
57 	ePVRTPFX_UsOBJECT,                  /*!< OBJECT */
58 	ePVRTPFX_UsOBJECTI,                 /*!< OBJECTI */
59 	ePVRTPFX_UsOBJECTIT,                /*!< OBJECTIT */
60 	ePVRTPFX_UsUNPACKMATRIX,            /*!< UNPACKMATRIX */
61 
62 	ePVRTPFX_UsBONECOUNT,               /*!< BONECOUNT */
63 	ePVRTPFX_UsBONEMATRIXARRAY,         /*!< BONEMATRIXARRAY */
64 	ePVRTPFX_UsBONEMATRIXARRAYIT,       /*!< BONEMATRIXARRAYIT */
65 
66 	ePVRTPFX_UsMATERIALOPACITY,         /*!< MATERIALOPACITY */
67 	ePVRTPFX_UsMATERIALSHININESS,       /*!< MATERIALSHININESS */
68 	ePVRTPFX_UsMATERIALCOLORAMBIENT,    /*!< MATERIALCOLORAMBIENT */
69 	ePVRTPFX_UsMATERIALCOLORDIFFUSE,    /*!< MATERIALCOLORDIFFUSE */
70 	ePVRTPFX_UsMATERIALCOLORSPECULAR,   /*!< MATERIALCOLORSPECULAR */
71 
72 	ePVRTPFX_UsLIGHTCOLOR,              /*!< LIGHTCOLOR */
73 	ePVRTPFX_UsLIGHTPOSMODEL,           /*!< LIGHTPOSMODEL */
74 	ePVRTPFX_UsLIGHTPOSWORLD,           /*!< LIGHTPOSWORLD */
75 	ePVRTPFX_UsLIGHTPOSEYE,             /*!< LIGHTPOSEYE */
76 	ePVRTPFX_UsLIGHTDIRMODEL,           /*!< LIGHTDIRMODEL */
77 	ePVRTPFX_UsLIGHTDIRWORLD,           /*!< LIGHTDIRWORLD */
78 	ePVRTPFX_UsLIGHTDIREYE,             /*!< LIGHTDIREYE */
79 	ePVRTPFX_UsLIGHTATTENUATION,        /*!< LIGHTATTENUATION */
80 	ePVRTPFX_UsLIGHTFALLOFF,            /*!< LIGHTFALLOFF */
81 
82 	ePVRTPFX_UsEYEPOSMODEL,             /*!< EYEPOSMODEL */
83 	ePVRTPFX_UsEYEPOSWORLD,             /*!< EYEPOSWORLD */
84 	ePVRTPFX_UsTEXTURE,                 /*!< TEXTURE */
85 	ePVRTPFX_UsANIMATION,               /*!< ANIMATION */
86 
87 	ePVRTPFX_UsVIEWPORTPIXELSIZE,       /*!< VIEWPORTPIXELSIZE */
88 	ePVRTPFX_UsVIEWPORTCLIPPING,        /*!< VIEWPORTCLIPPING */
89 	ePVRTPFX_UsTIME,                    /*!< TIME */
90 	ePVRTPFX_UsTIMECOS,                 /*!< TIMECOS */
91 	ePVRTPFX_UsTIMESIN,                 /*!< TIMESIN */
92 	ePVRTPFX_UsTIMETAN,                 /*!< TIMETAN */
93 	ePVRTPFX_UsTIME2PI,                 /*!< TIME2PI */
94 	ePVRTPFX_UsTIME2PICOS,              /*!< TIME2PICOS */
95 	ePVRTPFX_UsTIME2PISIN,              /*!< TIME2PISIN */
96 	ePVRTPFX_UsTIME2PITAN,              /*!< TIME2PITAN */
97 	ePVRTPFX_UsRANDOM,                  /*!< RANDOM */
98 
99 	ePVRTPFX_NumSemantics               /*!< Semantic number */
100 };
101 
102 /*!**************************************************************************
103  @brief        Retrieves the list of semantics.
104  ***************************************************************************/
105 const SPVRTPFXUniformSemantic* PVRTPFXSemanticsGetSemanticList();
106 
107 /*! @} */
108 
109 #endif /* PVRTPFXSEMANTICS_H */
110 
111 /*****************************************************************************
112  End of file (PVRTPFXSemantics.h)
113 *****************************************************************************/
114 
115