MDLParser
Simple and modern library for parsing the Source engine model formats
Loading...
Searching...
No Matches
Enumerations | Functions
MdlParser::Enums::Vtx Namespace Reference

Enumerations

enum class  StripFlags : uint8_t { NONE = 0 , IS_TRILIST = 0x01 , IS_TRISTRIP = 0x02 }
 
enum class  StripGroupFlags : uint8_t {
  NONE = 0 , IS_FLEXED = 0x01 , IS_HWSKINNED = 0x02 , IS_DELTA_FLEXED = 0x04 ,
  SUPPRESS_HW_MORPH = 0x08
}
 
enum class  MeshFlags : uint8_t { NONE = 0 , IS_TEETH = 0x01 , IS_EYES = 0x02 }
 

Functions

StripFlags operator& (const StripFlags &a, const StripFlags &b)
 
StripFlags operator| (const StripFlags &a, const StripFlags &b)
 
StripGroupFlags operator& (const StripGroupFlags &a, const StripGroupFlags &b)
 
StripGroupFlags operator| (const StripGroupFlags &a, const StripGroupFlags &b)
 
MeshFlags operator& (const MeshFlags &a, const MeshFlags &b)
 
MeshFlags operator| (const MeshFlags &a, const MeshFlags &b)
 

Detailed Description

Enums used in the VTX file format.

Enumeration Type Documentation

◆ MeshFlags

enum class MdlParser::Enums::Vtx::MeshFlags : uint8_t
strong

Bitflags describing a VTX mesh.

Enumerator
NONE 

No flags are set.

IS_TEETH 

This mesh forms the teeth of a character.

IS_EYES 

This mesh forms the eyes of a character.

◆ StripFlags

enum class MdlParser::Enums::Vtx::StripFlags : uint8_t
strong

Bitflags describing a VTX strip.

Enumerator
NONE 

No flags are set.

IS_TRILIST 

The indices referenced by this strip form a triangle list.

IS_TRISTRIP 

The indices referenced by this strip form a triangle strip.

◆ StripGroupFlags

enum class MdlParser::Enums::Vtx::StripGroupFlags : uint8_t
strong

Bitflags describing a VTX strip group.

Enumerator
NONE 

No flags are set.