miscShdrDat.h
Engine/source/materials/miscShdrDat.h
Public Enumerations
enum
Components { C_VERT_STRUCT = 0 C_CONNECTOR C_VERT_MAIN C_PIX_MAIN }
enum
RegisterType { RT_POSITION = 0 RT_NORMAL RT_BINORMAL RT_TANGENT RT_TANGENTW RT_COLOR RT_TEXCOORD RT_VPOS RT_SVPOSITION RT_BLENDINDICES RT_BLENDWEIGHT }
Detailed Description
Public Enumerations
Components
Enumerator
- C_VERT_STRUCT = 0
- C_CONNECTOR
- C_VERT_MAIN
- C_PIX_MAIN
RegisterType
Enumerator
- RT_POSITION = 0
- RT_NORMAL
- RT_BINORMAL
- RT_TANGENT
- RT_TANGENTW
- RT_COLOR
- RT_TEXCOORD
- RT_VPOS
- RT_SVPOSITION
- RT_BLENDINDICES
- RT_BLENDWEIGHT
1 2//----------------------------------------------------------------------------- 3// Copyright (c) 2012 GarageGames, LLC 4// 5// Permission is hereby granted, free of charge, to any person obtaining a copy 6// of this software and associated documentation files (the "Software"), to 7// deal in the Software without restriction, including without limitation the 8// rights to use, copy, modify, merge, publish, distribute, sublicense, and/or 9// sell copies of the Software, and to permit persons to whom the Software is 10// furnished to do so, subject to the following conditions: 11// 12// The above copyright notice and this permission notice shall be included in 13// all copies or substantial portions of the Software. 14// 15// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING 20// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS 21// IN THE SOFTWARE. 22//----------------------------------------------------------------------------- 23#ifndef _MISCSHDRDAT_H_ 24#define _MISCSHDRDAT_H_ 25 26//************************************************************************** 27// This file is an attempt to keep certain classes from having to know about 28// the ShaderGen class 29//************************************************************************** 30 31 32//----------------------------------------------------------------------- 33// Enums 34//----------------------------------------------------------------------- 35enum RegisterType 36{ 37 RT_POSITION = 0, 38 RT_NORMAL, 39 RT_BINORMAL, 40 RT_TANGENT, 41 RT_TANGENTW, 42 RT_COLOR, 43 RT_TEXCOORD, 44 RT_VPOS, 45 RT_SVPOSITION, 46 RT_BLENDINDICES, 47 RT_BLENDWEIGHT 48}; 49 50enum Components 51{ 52 C_VERT_STRUCT = 0, 53 C_CONNECTOR, 54 C_VERT_MAIN, 55 C_PIX_MAIN 56}; 57 58#endif // _MISCSHDRDAT_H_ 59