Class RenderData

3DS Max Plug-In SDK

Class RenderData

See Also: Class INode-Access To Render Data, Class LightDesc.

class RenderData : public InterfaceServer

Description:

This class has a single virtual method to delete the class. For example, when LightDesc objects are deleted this is the method to do so.

Methods:

Prototype:

virtual void DeleteThis();

Remarks:

Implemented by the Plug-In.

This method is used to delete an instance of the class.

Default Implementation:

{delete this; }

Prototype:

virtual INT_PTR Execute(int cmd, ULONG arg1=0, ULONG arg2=0, ULONG arg3=0);

Remarks:

This method is available in release 3.0 and later only.

This is a general purpose function that allows the API to be extended in the future. The 3ds max development team can assign new cmd numbers and continue to add functionality to this class without having to 'break' the API.

This is reserved for future use.

Parameters:

int cmd

The command to execute.

ULONG arg1=0

Optional argument 1 (defined uniquely for each cmd).

ULONG arg2=0

Optional argument 2.

ULONG arg3=0

Optional argument 3.

Return Value:

An integer return value (defined uniquely for each cmd).

Default Implementation:

{ return 0; }