WoWs Model Exported
World of Warships 3D model Exporter
Loading...
Searching...
No Matches
wows_geometry_vertex_section Struct Reference

Decoded vertex buffer for one merged vertex stream. More...

#include <wows-geometry.h>

Data Fields

uint8_t * raw_data
 
uint32_t vertex_count
 
uint8_t _vertex_type
 

Detailed Description

Decoded vertex buffer for one merged vertex stream.

Holds the raw bytes after meshoptimizer decompression. The byte layout depends on _vertex_type; cast raw_data to the appropriate struct pointer to access individual vertices.

Field Documentation

◆ _vertex_type

uint8_t _vertex_type

Vertex-type ID; determines how to interpret raw_data.

◆ raw_data

uint8_t* raw_data

Decompressed vertex data (vertex_count × stride bytes).

◆ vertex_count

uint32_t vertex_count

Number of vertices in this buffer.


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