Public Member Functions

IStdDualVS Class Reference

This reference page is linked to from the following overview topics: Hardware Rendered Materials.


Search for all occurrences

#include <istddualvs.h>

Inheritance diagram for IStdDualVS:
Inheritance graph
[legend]

List of all members.

Public Member Functions

virtual  ~IStdDualVS ()
virtual void  SetCallback (IStdDualVSCallback *callback)=0
virtual int  FindNodeIndex (INode *node)=0
virtual Class_ID  ClassID ()
  Retrieves a constant that uniquely identifies the plugin class.
virtual SClass_ID  SuperClassID ()
  Retrieves a constant representing the type of the plugin.
virtual void  DeleteThis ()=0
  Deletes an instance of this class.

Constructor & Destructor Documentation

virtual ~IStdDualVS ( ) [inline, virtual]
{}; 

Member Function Documentation

virtual void SetCallback ( IStdDualVSCallback callback ) [pure virtual]
virtual int FindNodeIndex ( INode node ) [pure virtual]
virtual Class_ID ClassID ( ) [inline, virtual]

Retrieves a constant that uniquely identifies the plugin class.

This method must return the unique ID for the plugin class. If two ClassIDs conflict, the system will only load the first conflicting one it finds. A program (gencid.exe) is provided to generate unique class id values.

Returns:
A class id that uniquely identifies a plugin class
See also:
Class ClassID, List of Class IDs.

Reimplemented from Animatable.

{ return STD_DUAL_VERTEX_SHADER;}
virtual SClass_ID SuperClassID ( ) [inline, virtual]

Retrieves a constant representing the type of the plugin.

Returns:
A super class id that uniquely identifies the type (category) of the plugin. Note that several plugin classes can be of the same type, thus return the same super class id. Plugins are uniquely identified by their class ids. List of Super Class IDs.
See also:
SClass_ID

Reimplemented from ReferenceMaker.

{ return REF_MAKER_CLASS_ID;}
virtual void DeleteThis ( ) [pure virtual]

Deletes an instance of this class.

3ds Max calls this method when it needs to delete a plugin object (an instance of a class derived from Animatable). Similarly, plugins that need to delete instances of an Animatable or a class directly derived from it via an Animatable pointer, should call this method instead of calling directly operator delete. Following these rules will ensure that the same memory manager is used to allocate and deallocate the object. The default implementation of this method deletes the object. Plugin instances that never need to be deleted from the heap can overwrite this method to do nothing.

Note:
See the method ClassDesc::Create() for details on how Max allocates plugin objects.
See ReferenceMaker::DeleteMe() and ReferenceTarget::MaybeAutoDelete() for information on how plugin instances are deleted by the system.
Remarks:
See Memory Allocation.

See also:
Plugin DLL Functions, Class ClassDesc.

Reimplemented from Animatable.


IStdDualVS IStdDualVS IStdDualVS IStdDualVS IStdDualVS IStdDualVS IStdDualVS IStdDualVS IStdDualVS IStdDualVS
IStdDualVS IStdDualVS IStdDualVS IStdDualVS IStdDualVS IStdDualVS IStdDualVS IStdDualVS IStdDualVS IStdDualVS