WoWs Model Exported
World of Warships 3D model Exporter
Loading...
Searching...
No Matches
Visual render-set and LOD info

Functions

wows_assets_bin_visual_info_twows_assets_bin_get_visual_info (wows_assets_bin_pdb_t *pdb, const char *visual_suffix)
 Query render-set and LOD information for a .visual resource.
 
void wows_assets_bin_visual_info_free (wows_assets_bin_visual_info_t *info)
 Free memory allocated by wows_assets_bin_get_visual_info.
 

Data Structures

struct  wows_assets_bin_rs_t
 One render-set entry within a visual. More...
 
struct  wows_assets_bin_lod_t
 List of draw-call IDs belonging to one LOD level. More...
 
struct  wows_assets_bin_visual_info_t
 Complete render-set and LOD description for a visual resource. More...
 

Detailed Description

Render-set listings and LOD index tables for a given .visual resource.

Function Documentation

◆ wows_assets_bin_get_visual_info()

wows_assets_bin_visual_info_t * wows_assets_bin_get_visual_info ( wows_assets_bin_pdb_t pdb,
const char *  visual_suffix 
)

Query render-set and LOD information for a .visual resource.

visual_suffix must be a suffix path such as "ShipDir/ShipDir.visual". The pdb handle must have been obtained from wows_assets_bin_pdb_open.

Parameters
pdbOpen PDB handle.
visual_suffixSuffix path of the visual resource to look up.
Returns
Heap-allocated wows_assets_bin_visual_info_t, or NULL if not found.

◆ wows_assets_bin_visual_info_free()

void wows_assets_bin_visual_info_free ( wows_assets_bin_visual_info_t info)

Free memory allocated by wows_assets_bin_get_visual_info.

Parameters
infoPointer returned by wows_assets_bin_get_visual_info.