MDLParser
Simple and modern library for parsing the Source engine model formats
Loading...
Searching...
No Matches
Public Attributes | List of all members
MdlParser::Vtx::StripGroup Struct Reference

#include <vtx.hpp>

Public Attributes

std::vector< Structs::Vtx::Vertexvertices
 
std::vector< uint16_t > indices
 
std::vector< Stripstrips
 
Enums::Vtx::StripGroupFlags flags
 

Detailed Description

A collection of primitives (strips) with common vertices and indices.

Member Data Documentation

◆ flags

Enums::Vtx::StripGroupFlags MdlParser::Vtx::StripGroup::flags

Bitflags describing this strip group.

◆ indices

std::vector<uint16_t> MdlParser::Vtx::StripGroup::indices

The indices used by the strips in this group. Each index is an offset into the strip group's vertices.

◆ strips

std::vector<Strip> MdlParser::Vtx::StripGroup::strips

The strips (primitives) within this group.

◆ vertices

std::vector<Structs::Vtx::Vertex> MdlParser::Vtx::StripGroup::vertices

The vertices used by the strips in this group.

Remarks
The majority of the vertex data is stored in the .vvd file, with the vertices in here mostly just pointing to that data.

The documentation for this struct was generated from the following file: