IViewportShaderManager2 Class Reference
 
 
 
IViewportShaderManager2 Class Reference

#include <IViewportManager.h>

Inheritance diagram for IViewportShaderManager2:
IViewportShaderManager FPMixinInterface FPInterface BaseInterface InterfaceServer MaxHeapOperators IViewportShaderManager3

Class Description

A new interface for 3dsmax 7.

This extends the current interface, and provides support for the new UI options on the Viewport Manager

Public Member Functions

virtual bool  SaveFXFile (const MCHAR *fileName)=0
  Save the current effect based on the Standard Material as an effect file.
virtual bool  SaveFXFile (MCHAR *fileName) sealed
virtual bool  IsDxStdMtlEnabled ()=0
  Is the DX Display of the Standard Material enabled.
virtual void  SetDxStdMtlEnabled (bool state)=0
  Access to set the state of the DX Display of the Standard Material flag.
virtual const MCHAR *  GetActiveEffectName ()=0
  The name of the current effect as displayed in the UI.

Member Function Documentation

virtual bool SaveFXFile ( const MCHAR *  fileName ) [pure virtual]

Save the current effect based on the Standard Material as an effect file.

Parameters:
*fileName The name of the file to save
Returns:
The success of the operation
virtual bool SaveFXFile ( MCHAR *  fileName ) [inline, sealed, virtual]
Deprecated:
Deprecated method in terms of implementation as of 3ds Max 2013 - re-implement with const MCHAR* method signature
                                                          { 
                return SaveFXFile(const_cast<const MCHAR*>(fileName)); }
virtual bool IsDxStdMtlEnabled ( ) [pure virtual]

Is the DX Display of the Standard Material enabled.

Returns:
TRUE/FALSE
virtual void SetDxStdMtlEnabled ( bool  state ) [pure virtual]

Access to set the state of the DX Display of the Standard Material flag.

Parameters:
state The state of the flag - TRUE to set
virtual const MCHAR* GetActiveEffectName ( ) [pure virtual]

The name of the current effect as displayed in the UI.

Returns:
The name of the effect