Public Member Functions

RenderData Class Reference

Search for all occurrences

Detailed Description

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

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.

#include <imtl.h>

Inheritance diagram for RenderData:
Inheritance graph
[legend]

List of all members.

Public Member Functions

virtual void  DeleteThis ()=0
virtual INT_PTR  Execute (int cmd, ULONG_PTR arg1=0, ULONG_PTR arg2=0, ULONG_PTR arg3=0)

Member Function Documentation

virtual void DeleteThis ( ) [pure virtual]
Remarks:
This method is used to delete an instance of the class.
Default Implementation:
{delete this; }

Implemented in LightDesc.

virtual INT_PTR Execute ( int  cmd,
ULONG_PTR  arg1 = 0,
ULONG_PTR  arg2 = 0,
ULONG_PTR  arg3 = 0 
) [inline, virtual]
Remarks:
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.
Returns:
An integer return value (defined uniquely for each cmd).
Default Implementation:
{ return 0; }
{ return 0;} 

RenderData RenderData RenderData RenderData RenderData RenderData RenderData RenderData RenderData RenderData
RenderData RenderData RenderData RenderData RenderData RenderData RenderData RenderData RenderData RenderData