Class MtlMakerCallback
See Also: Class TexHandleMaker, Class TextureInfo, Class MtlBase, Class Texmap, Class Material.
class MtlMakerCallback: public TexHandleMaker
Description:
This class is available in release 4.0 and later only.
This is the callback used with the new multi-texture interface provided by method MtlBase::SetupGfxMultiMaps().
Methods:
public:
Prototype:
virtual void GetGfxTexInfoFromTexmap(TimeValue t, TextureInfo& texinf, Texmap *txm)=0;
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.
Prototype:
virtual BOOL NumberTexturesSupported()=0;
Remarks:
This method returns the number of textures that the hardware+driver supports.