S3DShaderResourceList

This class encapsulates a list of unique shaders found in a given 3D Studio MAX§ scenegraph.

When to Use

This class is used by the MAXExporter class.

Interface Methods

Description

~S3DShaderResourceList

Class destructor

FindIdentical

Finds a match to pShader


S3DShaderResourceList::~S3DShaderResourceList()

This is the class destructor. Note that this class uses a default constructor.

Parameters:

None

Return Values:

None


S3DShaderResourceList::FindIdentical(IFXShaderLitTexture* pShader)

This method searches the resource list and returns true if it finds a match to pShader.

Parameters:

pShader

The shader resource being searched for

Return Values:

int is the resource identifier of the shader if pShader if found in the list, otherwise, IFXEXP_NOT_FOUND is returned.

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