GeometryEnums.h

Go to the documentation of this file.
00001 //
00002 // Copyright 2010 Autodesk, Inc.  All rights reserved.
00003 //
00004 // Use of this software is subject to the terms of the Autodesk license
00005 // agreement provided at the time of installation or download, or which 
00006 // otherwise accompanies this software in either electronic or hard copy form.   
00007 //
00008 //
00009 
00010 #pragma once
00011 
00012 #include "./Types.h"
00013 #include "./DataBridgeExport.h"
00014 
00015 namespace MaxSDK { namespace Graphics {
00016 
00019     enum VertexFieldType
00020     {
00023         VertexFieldTypeUnknown, 
00024 
00027         VertexFieldFloat1, 
00028 
00031         VertexFieldFloat2, 
00032 
00035         VertexFieldFloat3, 
00036 
00039         VertexFieldFloat4, 
00040 
00043         VertexFieldColor, 
00044 
00045         VertexFieldTypeCount, 
00046     };
00047 
00051     enum VertexFieldUsage
00052     {
00055         VertexFieldUsageUnknown, 
00056 
00059         VertexFieldUsagePosition, 
00060 
00063         VertexFieldUsageNormal, 
00064 
00067         VertexFieldUsageDiffuse, 
00068 
00071         VertexFieldUsageSpecular, 
00072 
00075         VertexFieldUsageTexcoord, 
00076 
00079         VertexFieldUsageTangent, 
00080 
00083         VertexFieldUsageBitangent, 
00084 
00085         VertexFieldUsageCount, 
00086     };
00087 
00091     enum MeshChannelCategory
00092     {
00095         MeshChannelUnknown, 
00096 
00099         MeshChannelPosition, 
00100 
00103         MeshChannelVertexNormal, 
00104 
00107         MeshChannelTexcoord, 
00108 
00111         MeshChannelVertexColor, 
00112 
00115         MeshChannelTangent, 
00116 
00119         MeshChannelBitangent, 
00120 
00123         MeshChannelFaceMap, 
00124 
00125         MeshChannelCategoryCount, 
00126     };
00127 
00132     enum IndexType
00133     {
00136         IndexTypeUnknown,
00137 
00140         IndexTypeShort, 
00141 
00144         IndexTypeInt, 
00145 
00146         IndexTypeCount, 
00147     };
00148 
00153     DataBridgeAPI size_t GetVertexStride(const VertexFieldType type);
00154 
00159     DataBridgeAPI size_t GetIndexStride(const IndexType type);
00160 
00161 } } // end namespace
00162