AttributeEnums#

enum OpenMfx::AttributeType#

Values:

enumerator Unknown#
enumerator UByte#
enumerator Int#
enumerator Float#
enum OpenMfx::AttributeAttachment#

Values:

enumerator Invalid#
enumerator Point#
enumerator Corner#
enumerator Face#
enumerator Mesh#
enum OpenMfx::AttributeSemantic#

Values:

enumerator None#
enumerator TextureCoordinate#
enumerator Normal#
enumerator Color#
enumerator Weight#
AttributeType OpenMfx::attributeTypeAsEnum(const char *mfxType)#

Convert a type string from MeshEffect API to its local enum counterpart

const char *OpenMfx::attributeTypeAsString(AttributeType type)#

Convert local typestring enum to a type string from MeshEffect API

int OpenMfx::byteSizeOf(AttributeType type)#

Return the size in bytes of a type

AttributeAttachment OpenMfx::attributeAttachmentAsEnum(const char *mfxAttachment)#

Convert an attachment string from MeshEffect API to its local enum counterpart

const char *OpenMfx::attributeAttachmentAsString(AttributeAttachment attachment)#

Convert local attachment enum to an attachment string from MeshEffect API

AttributeSemantic OpenMfx::attributeSemanticAsEnum(const char *mfxSemantic)#

Convert a semantic string from MeshEffect API to its local enum counterpart

const char *OpenMfx::attributeSemanticAsString(AttributeSemantic semantic)#

Convert local semantic enum to a semantic string from MeshEffect API