S3DDebugInfo

This class writes run-time debugging information to a text file.

Interface Method

Description

S3DDebugInfo

Constructor

~S3DDebugInfo

Destructor

SetFlag

Set the Debugging flag

Init

Initializes the object for use

Close

Closes the log file

DumpChildNodes

Writes the children of a node

Write

Writes a description to the debug file of a/an:

  • formatted string

  • IFXStyle

  • IFXShaderLitTexture

  • IFXSkeletonModifier

  • IFXModifier

  • IFXModelResource

  • IFXMotionResource

  • IFXMaterialResource

  • IFXKeyFrame

  • IFXLightResource

  • IFXTextureObject

  • IFXMeshGroup

  • IFXMesh

  • IFXVector3

  • IFXVector4

  • IFXSGVector

  • IFXSGMatrix

  • IFXBoneInfo

  • IFXQuaternion

  • string

  • float

  • IFXPalette

  • IFXPalette containing IFXStyles

  • IFXPalette containing IFXNodes

  • IFXPalette containing IFXModelData

  • IFXPalette containing IFXLights

  • IFXPalette containing Materials

  • IFXPalette containing IFXShaders

  • IFXPalette containing IFXMotions

  • IFXPalette containing IFXTextures


S3DDebugInfo::S3DDebugInfo ()

This is the constructor method.

Parameters:

None

Return Values:

None


S3DDebugInfo::~S3DDebugInfo ()

This is the destructor method.

Parameters:

None

Return Values:

None


S3DDebugInfo::Close ()

This method closes the log file and is called when the logging session is finished.

Parameters:

None

Return Values:

None


S3DDebugInfo::Init (HINSTANCE in_Instance, const char * in_FileName)

This method initializes the object for use. It opens the output file, finds the options file and loads the options.

Parameters:

in_Instance

Instance of the exporter module, used to find the options file

in_FileName

Name of the log file. Will append ".debuginfo.txt" to the input string.

Return Values


S3DDebugInfo::SetFlag (U32 in_Id, U32 in_value)

This method sets the Debugging flag.

Parameters:

in_Id

One of the IFX_EDI_FLAGS values indicating the flag to set

in_value

New value of flag

Return Values


S3DDebugInfo::Write[object] ([object] * in_Data)

Writes a description to the debug file of a/an:

Return Values:

None


S3DDebugInfo::DumpChildNodes (IFXPalette *pNodePalette, IFXNode *pNode, U32 indent, U32 numSiblings)

This method writes out the children of a node.

Parameters:

pNodePalette

The Palette containing the nodes

pNode

The node whose children are being written out

indent

The indentation level for a hierachy printout

numSiblings

Number of siblings the model has

Return Values

 

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