Public Member Functions

MtlMakerCallback Class Reference

Search for all occurrences

Detailed Description

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

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().

#include <imtl.h>

Inheritance diagram for MtlMakerCallback:
Inheritance graph
[legend]

List of all members.

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.

MtlMakerCallback MtlMakerCallback MtlMakerCallback MtlMakerCallback MtlMakerCallback MtlMakerCallback MtlMakerCallback MtlMakerCallback MtlMakerCallback MtlMakerCallback
MtlMakerCallback MtlMakerCallback MtlMakerCallback MtlMakerCallback MtlMakerCallback MtlMakerCallback MtlMakerCallback MtlMakerCallback MtlMakerCallback MtlMakerCallback