ITextureDisplay.h

Go to the documentation of this file.
00001 //
00002 // Copyright [2009] Autodesk, Inc.  All rights reserved. 
00003 //
00004 // This computer source code and related instructions and comments are the
00005 // unpublished confidential and proprietary information of Autodesk, Inc. and
00006 // are protected under applicable copyright and trade secret law.  They may
00007 // not be disclosed to, copied or used by any third party without the prior
00008 // written consent of Autodesk, Inc.
00009 //
00010 
00011 #pragma once
00012 #include "../baseinterface.h"
00013 #include "../imtl.h"
00014 #include "ISimpleMaterial.h"
00015 
00016 
00018 #define ITEXTURE_DISPLAY_INTERFACE_ID Interface_ID(0x363f6c8b, 0x14500438)
00019 
00020 namespace MaxSDK { namespace Graphics {
00021 
00027 class DisplayTextureHelper : public TexHandleMaker
00028 {
00029 public:
00039     virtual void UpdateTextureMapInfo(TimeValue t, ISimpleMaterial::MapUsage mapUsage, Texmap* texMap) = 0;
00040 };
00041 
00042 
00060 class ITextureDisplay : public BaseInterface
00061 {
00062 public:
00065     virtual Interface_ID GetID() { return ITEXTURE_DISPLAY_INTERFACE_ID; }
00066 
00081     virtual void SetupTextures(TimeValue t, DisplayTextureHelper &updater) = 0;
00082 };
00083 
00084 } } //namespace