Public Member Functions

IViewportShaderManager2 Class Reference

Search for all occurrences

Detailed Description

A new interface for 3dsmax 7.

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

#include <IViewportManager.h>

Inheritance diagram for IViewportShaderManager2:
Inheritance graph
[legend]

List of all members.

Public Member Functions

virtual bool  SaveFXFile (MCHAR *fileName)=0
  Save the current effect based on the Standard Material as an effect file.
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 MCHAR *  GetActiveEffectName ()=0
  The name of the current effect as displayed in the UI.

Member Function Documentation

virtual bool SaveFXFile ( 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 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 MCHAR* GetActiveEffectName ( ) [pure virtual]

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

Returns:
The name of the effect

IViewportShaderManager2 IViewportShaderManager2 IViewportShaderManager2 IViewportShaderManager2 IViewportShaderManager2 IViewportShaderManager2 IViewportShaderManager2 IViewportShaderManager2 IViewportShaderManager2 IViewportShaderManager2
IViewportShaderManager2 IViewportShaderManager2 IViewportShaderManager2 IViewportShaderManager2 IViewportShaderManager2 IViewportShaderManager2 IViewportShaderManager2 IViewportShaderManager2 IViewportShaderManager2 IViewportShaderManager2