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

 MaxSDK
 These classes let you define skin weighting using a voxel or height map based algorithm.
 
 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. More...
 
#define IREND_ELEM_MGR_INTERFACE   Interface_ID(0x95791767, 0x17651746)
 

Typedefs

typedef SFXParamDlg IRenderElementParamDlg
 
typedef MAX_DEPRECATED Renderer IRenderElementCompatible
 See Renderer::CompatibleWithAnyRenderElement() and Renderer::CompatibleWithRenderElement() More...
 

Functions

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

Macro Definition Documentation

#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)

Typedef Documentation

typedef MAX_DEPRECATED Renderer IRenderElementCompatible

See Renderer::CompatibleWithAnyRenderElement() and Renderer::CompatibleWithRenderElement()

Deprecated:
in 3ds Max 2017. All methods of IRenderElementCompatible have been moved to class Renderer.

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.
309  {
310 
311  return (element != NULL) ? static_cast<IRenderElementRequirements*>(element->GetInterface(IRENDERELEMENTREQUIREMENTS_INTERFACE_ID)) : NULL;
312 }
Definition: renderelements.h:280
#define NULL
Definition: autoptr.h:18
virtual void * GetInterface(ULONG id)=0
#define IRENDERELEMENTREQUIREMENTS_INTERFACE_ID
This interface is used to query special requirement flags from render elements.
Definition: renderelements.h:279