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

Metadata for one merged vertex buffer (ENCD block descriptor). More...

#include <wows-geometry.h>

Data Fields

uint64_t off_ver_bloc_start
 
uint64_t n_size_type_str
 
uint64_t off_ver_bloc_end
 
uint32_t s_ver_bloc_size
 
uint16_t s_vertex_size
 
uint8_t b_flag_1
 
uint8_t b_flag_2
 
size_t _abs_start
 
size_t _abs_end
 
uint8_t _vertex_type
 

Detailed Description

Metadata for one merged vertex buffer (ENCD block descriptor).

Describes the location and layout of a single meshoptimizer-compressed vertex buffer inside the file. Fields prefixed with _ are set by the parser and are not part of the on-disk format.

Field Documentation

◆ _abs_end

size_t _abs_end

Absolute file offset of the ENCD block end.

◆ _abs_start

size_t _abs_start

Absolute file offset of the ENCD block start.

◆ _vertex_type

uint8_t _vertex_type

Resolved vertex-type ID (one of the WOWS_ID_* constants).

◆ b_flag_1

uint8_t b_flag_1

Reserved flag byte 1.

◆ b_flag_2

uint8_t b_flag_2

Reserved flag byte 2.

◆ n_size_type_str

uint64_t n_size_type_str

Byte length of the vertex-format type string (e.g. "set3/xyznuvtbpc").

◆ off_ver_bloc_end

uint64_t off_ver_bloc_end

Relative offset to the end of the ENCD block.

◆ off_ver_bloc_start

uint64_t off_ver_bloc_start

Relative offset from this struct to the start of the ENCD block.

◆ s_ver_bloc_size

uint32_t s_ver_bloc_size

Size of the ENCD block in bytes.

◆ s_vertex_size

uint16_t s_vertex_size

Stride (bytes per vertex) as recorded in the file.


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