3ds Max C++ API Reference
IPFRender.h File Reference

Render related interface for an Operator. More...

#include "PFExport.h"
#include "../ifnpub.h"
#include "../triobj.h"

Classes

class  IPFRender
 

Macros

#define PFRENDER_INTERFACE   Interface_ID(0x75aa7a7f, 0x19c66a0a)
 
#define GetPFRenderInterface(obj)   ((IPFRender*)((GetPFObject(obj))->GetInterface(PFRENDER_INTERFACE)))
 

Functions

PFExport ObjectGetPFObject (Object *obj)
 
IPFRenderPFRenderInterface (Object *obj)
 
IPFRenderPFRenderInterface (INode *node)
 

Detailed Description

Render related interface for an Operator.

If an Operator has a Render interface then the Operator is called to supply geometry for render in the current ActionList.

Macro Definition Documentation

◆ PFRENDER_INTERFACE

#define PFRENDER_INTERFACE   Interface_ID(0x75aa7a7f, 0x19c66a0a)

◆ GetPFRenderInterface

#define GetPFRenderInterface (   obj)    ((IPFRender*)((GetPFObject(obj))->GetInterface(PFRENDER_INTERFACE)))

Function Documentation

◆ GetPFObject()

PFExport Object* GetPFObject ( Object obj)

◆ PFRenderInterface() [1/2]

IPFRender* PFRenderInterface ( Object obj)
inline
126  {
127  return ((obj == NULL) ? NULL : GetPFRenderInterface(obj));
128 };
#define GetPFRenderInterface(obj)
Definition: IPFRender.h:25
#define NULL
Definition: autoptr.h:18

◆ PFRenderInterface() [2/2]

IPFRender* PFRenderInterface ( INode node)
inline
130  {
131  return ((node == NULL) ? NULL : PFRenderInterface(node->GetObjectRef()));
132 };
IPFRender * PFRenderInterface(Object *obj)
Definition: IPFRender.h:126
virtual Object * GetObjectRef()=0