MtlMakerCallback Class Reference
 
 
 
MtlMakerCallback Class Reference

#include <imtl.h>

Inheritance diagram for MtlMakerCallback:
TexHandleMaker MaxHeapOperators

Class Description

See also:
Class TexHandleMaker, Class TextureInfo, Class MtlBase, Class Texmap, Class Material.

Description:
This is the callback used with the new multi-texture interface provided by method MtlBase::SetupGfxMultiMaps().

Public Member Functions

virtual void  GetGfxTexInfoFromTexmap (TimeValue t, TextureInfo &texinf, Texmap *txm)=0
virtual BOOL  NumberTexturesSupported ()=0

Member Function Documentation

virtual void GetGfxTexInfoFromTexmap ( TimeValue  t,
TextureInfo texinf,
Texmap txm 
) [pure virtual]
Remarks:
This method updates all the fields of the TextureInfo instance exept the texture handle and the texture ops.
Parameters:
TimeValue t

The time at which the texture is evaluated.

TextureInfo& texinf

The texture info which is updated.

Texmap *txm

Points to the texmap as the source for the texture info update.
virtual BOOL NumberTexturesSupported ( ) [pure virtual]
Remarks:
This method returns the number of textures that the hardware+driver supports.