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...
|
enum |
BufferUsageType {
BufferUsageTypeNone,
BufferUsageStatic,
BufferUsageDynamic,
BufferUsageStreamOut,
BufferUsageShaderResource,
BufferUsageStreamOutAndShaderResource
} |
|
BufferUsageType Types for OGS buffer usage.
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.
|