GeometryEnums.h File Reference

#include "./Types.h"
#include "./DataBridgeExport.h"

Go to the source code of this file.

Namespaces

namespace   MaxSDK
namespace   MaxSDK::Graphics

Enumerations

enum   VertexFieldType {
  VertexFieldTypeUnknown, VertexFieldFloat1, VertexFieldFloat2, VertexFieldFloat3,
  VertexFieldFloat4, VertexFieldColor, VertexFieldTypeCount
}
 

types available for vertex fields, e.g.

More...
enum   VertexFieldUsage {
  VertexFieldUsageUnknown, VertexFieldUsagePosition, VertexFieldUsageNormal, VertexFieldUsageDiffuse,
  VertexFieldUsageSpecular, VertexFieldUsageTexcoord, VertexFieldUsageTangent, VertexFieldUsageBitangent,
  VertexFieldUsageCount
}
 

Indicates the usage of a vertex field of a vertex buffer.

More...
enum   MeshChannelCategory {
  MeshChannelUnknown, MeshChannelPosition, MeshChannelVertexNormal, MeshChannelTexcoord,
  MeshChannelVertexColor, MeshChannelTangent, MeshChannelBitangent, MeshChannelFaceMap,
  MeshChannelCategoryCount
}
 

Indicates the data source of a vertex field of a mesh vertex buffer.

More...
enum   IndexType { IndexTypeUnknown, IndexTypeShort, IndexTypeInt, IndexTypeCount }
 

Buffers are composed of arrays of elements all of the same type.

More...

Functions

DataBridgeAPI size_t  GetVertexStride (const VertexFieldType type)
  Get the vertex stride by a given vertex type, in bytes.
DataBridgeAPI size_t  GetIndexStride (const IndexType type)
  Get the index stride by a given index type, in bytes.