Classes | Namespaces | Defines | Typedefs | Functions

renderelements.h File Reference

This reference page is linked to from the following overview topics: SDK Change Details.


#include "maxheap.h"
#include "sfx.h"

Go to the source code of this file.

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   IRenderElementCompatible
class   IRenderElementMgr

Namespaces

namespace   MaxSDK
namespace   MaxSDK::AssetManagement

Defines

#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

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

Define Documentation

#define BEAUTY_RENDER_ELEMENT_CLASS_ID   0x00000001

Definition at line 26 of file renderelements.h.

#define SHADOWS_RENDER_ELEMENT_CLASS_ID   0x00000008

Definition at line 28 of file renderelements.h.

#define Z_RENDER_ELEMENT_CLASS_ID   0x0000000c

Definition at line 29 of file renderelements.h.

#define ALPHA_RENDER_ELEMENT_CLASS_ID   0x0000000d

Definition at line 30 of file renderelements.h.

#define LIGHTING_RENDER_ELEMENT_CLASS_ID   0x00000011

Definition at line 31 of file renderelements.h.

#define MATERIALID_RENDER_ELEMENT_CLASS_ID   0x00000014

Definition at line 32 of file renderelements.h.

#define OBJECTID_RENDER_ELEMENT_CLASS_ID   0x00000015

Definition at line 33 of file renderelements.h.

#define ILLUMINANCE_RENDER_ELEMENT_CLASS_ID   0x00000017

Definition at line 34 of file renderelements.h.

#define IRENDERELEMENTREQUIREMENTS_INTERFACE_ID   Interface_ID(0x1804343c, 0x614c2fdf)

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

Definition at line 279 of file renderelements.h.

#define IREND_ELEM_MGR_INTERFACE   Interface_ID(0x95791767, 0x17651746)

Definition at line 804 of file renderelements.h.


Typedef Documentation

Definition at line 38 of file renderelements.h.


Function Documentation

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.

Definition at line 309 of file renderelements.h.

                                                                                          {

    return (element != NULL) ? static_cast<IRenderElementRequirements*>(element->GetInterface(IRENDERELEMENTREQUIREMENTS_INTERFACE_ID)) : NULL;
}