This reference page is linked to from the following overview topics: Porting Simple Material and Texture Map Plug-ins to Nitrous.
Used for creating texture handles (TexHandle) and updating texture data managed by the viewport display system.
This class is implemented by the system and an instance of it is passed as parameter to ITextureDisplay::SetupTextures().
#include <ITextureDisplay.h>
Public Member Functions |
|
virtual void | UpdateTextureMapInfo (TimeValue t, ISimpleMaterial::MapUsage mapUsage, Texmap *texMap)=0 |
Updates texture information used by the
viewport display system. |
virtual void UpdateTextureMapInfo | ( | TimeValue | t, |
ISimpleMaterial::MapUsage | mapUsage, | ||
Texmap * | texMap | ||
) | [pure virtual] |
Updates texture information used by the viewport display system.
It extracts mapping channel and texture transform information from the provided Texmap. Client code needs to call this method in its implementation of ITextureDisplay::SetupTextures() for each texture map of a material or sub-texture of a texture map plug-in.
t | The time at which the texture information is updated. |
mapUsage | The map usage which specifies which of the internal texture information will be updated. |
texMap | The texture map representing the source for the texture information update. |