IFXW3DAnalysis

IFXW3DAnalysis function provides details on the .w3d file that is generated. IFXW3DAnalysis fills a IFXW3DStats structure with the details of a specified file.

When to Use:

W3DAnalysis is used whenever details of a .w3d file are desired.


enum W3DCategories:

W3D_UNKNOWN - Contains unknown block types, language code page blocks, and priority change blocks
W3D_GEOMETRY - Contains all model resource data
W3D_SHADERS - Contains all Shader blocks
W3D_TEXTURES - Contains all Texture blocks
W3D_MATERIALS - Contains all Material blocks
W3D_LIGHTS - Contains all the Light blocks
W3D_ANIMATIONS - Contains all of the Animation Blocks
W3D_NODES - Contains all blocks relating to the Scene Hierarchy
W3D_CATEGORYCOUNT - Place holder to indicate the number of categories


W3DAnalysis::IFXAnalyzeW3D (const char *in_pFileName, IFXW3DStats* out_FileStats)

This method fills a IFXW3DStats structure with the details of a specified file.

Parameters:

in_pFileName

Pointer to the name of the file to analyze

out_FileStats

Pointer to IFXW3DStats Structure to fill with details of the file

Return Values


IFXW3DStats

The IFXW3DStats structure is used to hold details about a .w3d file.

When to Use

Used only as a parameter to IFXW3DAnalysis function.

Members:

TotalSize

Total Size of the file in bytes

NumBlocks

Total Number of blocks in the file

Version

Version of the File

Categories

Array of IFXW3DCategoryStats structures to hold details on the different block categories

InitialLoadSegment

IFXW3DCategoryStats structure that holds the details on the Initial Load Segment


IFXW3DCategoryStats

The IFXW3DCategoryStats structure is used to report the number of blocks and total size in defining IFXW3DStats. Do not use directly.

Members:

TotalSize

Total Size in bytes of each category

NumBlocks

Number of blocks a category contains

 

§See asterisked (*) statement at Legal Information © 2001 Intel Corporation.