3ds Max C++ API Reference
Loading...
Searching...
No Matches
renderelements.h File Reference
#include "maxheap.h"
#include "sfx.h"

Classes

class  IRenderElement
class  IRenderElementRequirements
class  MaxRenderElement
class  MaxBakeElement
class  MaxBakeElement8
 Extention to MaxBakeElement in 3ds Max 8. More...
class  MaxBakeElement10
 Extention to MaxBakeElement8 in 3ds Max 10. More...
class  IRenderElementMgr

Namespaces

namespace  MaxSDK
namespace  MaxSDK::AssetManagement

Macros

#define BEAUTY_RENDER_ELEMENT_CLASS_ID   0x00000001
#define SHADOWS_RENDER_ELEMENT_CLASS_ID   0x00000008
#define Z_RENDER_ELEMENT_CLASS_ID   0x0000000c
#define ALPHA_RENDER_ELEMENT_CLASS_ID   0x0000000d
#define LIGHTING_RENDER_ELEMENT_CLASS_ID   0x00000011
#define MATERIALID_RENDER_ELEMENT_CLASS_ID   0x00000014
#define OBJECTID_RENDER_ELEMENT_CLASS_ID   0x00000015
#define ILLUMINANCE_RENDER_ELEMENT_CLASS_ID   0x00000017
#define IRENDERELEMENTREQUIREMENTS_INTERFACE_ID   Interface_ID(0x1804343c, 0x614c2fdf)
 This interface is used to query special requirement flags from render elements.
#define IREND_ELEM_MGR_INTERFACE   Interface_ID(0x95791767, 0x17651746)

Typedefs

typedef SFXParamDlg IRenderElementParamDlg

Functions

IRenderElementRequirementsGet_RenderElementRequirements (IRenderElement *element)
 This returns the IRenderElementRequirements interface for a given render element.

Macro Definition Documentation

◆ BEAUTY_RENDER_ELEMENT_CLASS_ID

#define BEAUTY_RENDER_ELEMENT_CLASS_ID   0x00000001

◆ SHADOWS_RENDER_ELEMENT_CLASS_ID

#define SHADOWS_RENDER_ELEMENT_CLASS_ID   0x00000008

◆ Z_RENDER_ELEMENT_CLASS_ID

#define Z_RENDER_ELEMENT_CLASS_ID   0x0000000c

◆ ALPHA_RENDER_ELEMENT_CLASS_ID

#define ALPHA_RENDER_ELEMENT_CLASS_ID   0x0000000d

◆ LIGHTING_RENDER_ELEMENT_CLASS_ID

#define LIGHTING_RENDER_ELEMENT_CLASS_ID   0x00000011

◆ MATERIALID_RENDER_ELEMENT_CLASS_ID

#define MATERIALID_RENDER_ELEMENT_CLASS_ID   0x00000014

◆ OBJECTID_RENDER_ELEMENT_CLASS_ID

#define OBJECTID_RENDER_ELEMENT_CLASS_ID   0x00000015

◆ ILLUMINANCE_RENDER_ELEMENT_CLASS_ID

#define ILLUMINANCE_RENDER_ELEMENT_CLASS_ID   0x00000017

◆ IRENDERELEMENTREQUIREMENTS_INTERFACE_ID

#define IRENDERELEMENTREQUIREMENTS_INTERFACE_ID   Interface_ID(0x1804343c, 0x614c2fdf)

This interface is used to query special requirement flags from render elements.

◆ IREND_ELEM_MGR_INTERFACE

#define IREND_ELEM_MGR_INTERFACE   Interface_ID(0x95791767, 0x17651746)

Typedef Documentation

◆ IRenderElementParamDlg

Function Documentation

◆ Get_RenderElementRequirements()

IRenderElementRequirements * Get_RenderElementRequirements ( IRenderElement * element)
inline

This returns the IRenderElementRequirements interface for a given render element.

This method checks for element being NULL and return directly NULL if its the case.

Parameters
[in]element- The render element for which the IRenderElementRequirements interface is wanted.
Returns
- the IRenderElementRequirements interface for this element or NULL if element is NULL.
309 {
310
311 return (element != NULL) ? static_cast<IRenderElementRequirements*>(element->GetInterface(IRENDERELEMENTREQUIREMENTS_INTERFACE_ID)) : NULL;
312}
#define NULL
Definition autoptr.h:18
virtual void * GetInterface(ULONG id)=0
Definition renderelements.h:280
#define IRENDERELEMENTREQUIREMENTS_INTERFACE_ID
This interface is used to query special requirement flags from render elements.
Definition renderelements.h:279