IFXMultiResManager

This interface contains the IFXResManagerInterface and the IFXMultResManagerInterface classes.

The IFXResManagerInterface class is used to change the resolution of a single IFXMesh. Use this class to change the resolution of a mesh with only one material.

The IFXMultiResManagerInterface class is used to change the resolution of an IFXMeshGroup. It does this by adjusting the resolutiopn on each IFXmesh in a synchronous manner so that cracks do not develop between materials. The resolution ranges from 0 to the number of vertices in the original mesh.

Note: If a mesh has only one material use the IFXResManagerInterface class to change resolution.

IFXResManagerInterface

Interface Method

Description

Initialize

Initializes the object for use

Initialize_ResolutionZero

Sets the resolution to zero

UpdateMesh

Hands back the modified input mesh

SetResolution

Sets the resolution

GetResolution

Gets the resolution

GetMaxResolution

Gets the maximum resolution value

GetUpdates

Gets the ResManagerInterface

IncreaseResolution

Increases the resolution

DecreaseResolution

Decreases the resolution


IFXMultiResManagerInterface

Interface Method

Description

Initialize

Initializes the object for use

Initialize_ResolutionZero

Sets the resolution to zero

UpdateMesh

Hands back the modified input mesh

PrevResolution

Gets the previous resolution

SetResolution

Sets the resolution

GetResolution

Gets the resolution

GetMaxResolution

Gets the maximum resolution value

GetResManager

Gets the ResManagerInterface

~IFXMultiResManagerInterface

Class destructor


IFXMultiResManager::Initialize(IFXMeshGroup *m, IFXUpdatesGroup *u)

This method initializes the object for use.

Parameters:

m

Pointer to an IFXMeshGroup

u

Pointer to an IFXUpdatesGroup

Return Values


IFXMultiResManager::Initialize_ResolutionZero(IFXMeshGroup *m, IFXUpdatesGroup *u)

This method sets the resolution to zero.

Parameters:

m

Pointer to an IFXMeshGroup

u

Pointer to an IFXUpdatesGroup

Return Values


IFXMultiResManager::UpdateMesh(IFXMeshGroup *in, IFXMeshGroup **out)

This method hands back the modified input mesh.

Parameters:

in

Pointer to an IFXMeshGroup input

out

Pointer to an IFXMeshGroup output

Return Values


IFXMultiResManager::PrevResolution()

This method gets the previous resolution.

Parameters:

None

Return Values:

U32


IFXMultiResManager::SetResolution(U32 r)

This method sets the resolution.

Parameters:

r

Resolution setting

Return Values:

U32


IFXMultiResManager::GetResolution()

This method gets the resolution.

Parameters:

None

Return Values:

U32


IFXMultiResManager::GetMaxResolution()

This method gets the maximum resolution value.

Parameters:

None

Return Values:

U32


IFXMultiResManager::GetResManager(U32 i)

This method gets the ResManagerInterface

Parameters:

i

ResManager interface

Return Values:

IFXResManagerInterface*


IFXMultiResManager::~IFXMultiResManagerInterface()

Class destructor.

Parameters:

None

Return Values:

None



IFXResManagerInterface::Initialize(IFXMultiResManager *pInMultiResMgr, U32 meshIndex)

This method initializes the manager for use.

Parameters:

pInMultiResMgr

Pointer to the IFXMultiResManager

meshIndex

Mesh index number

Return Values


IFXResManagerInterface::Initialize_ResolutionZero(IFXMultiResManager *pInMultiResMgr, U32 meshIndex)

This method sets the resolution to zero.

Parameters:

pInMultiResMgr

Pointer to the IFXMultiResManager

meshIndex

Mesh index number

Return Values


IFXResManagerInterface::UpdateMesh(IFXMesh *in, IFXMesh **out)

This method hands back the modified input mesh.

Parameters:

in

Pointer to an IFXMesh input

out

Pointer to an IFXMesh output

Return Values


IFXResManagerInterface::SetResolution(U32 r)

This method sets the resolution. The resolution range is from 0 to the number of vertices in the original mesh.

Parameters:

r

Resolution setting

Return Values:

U32


IFXResManagerInterface::GetResolution()

This method gets the resolution.

Parameters:

None

Return Values:

U32


IFXResManagerInterface::GetMaxResolution()

This method gets the maximum resolution value.

Parameters:

None

Return Values:

U32


IFXResManagerInterface::GetUpdates()

This method gets the update records.

Parameters:

None

Return Values:

IFXUpdates


IFXResManagerInterface::IncreaseResolution(U32 delta)

This method increases the resolution.

Parameters:

delta

Amount of increase

Return Values:

None


IFXResManagerInterface::DecreaseResolution(U32 delta)

This method decreases the resolution.

Parameters:

delta

Amount of decrease

Return Values:

None

 

 

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