Detailed Description
- See also:
- Class IRenderElement, Class FPMixinInterface,
Class
ReferenceTarget, Render Elements
- Description:
- This class is available in release 4.0 and later only.
This class represents the interface for the Render Element Manager.
A sample plugin of a Render Element can be found in the SDK
samples; /MAXSDK/SAMPLES/RENDER/RENDERELEMENTS.
#include <renderelements.h>
List of all
members.
Public Types
|
enum |
{
fps_AddRenderElement,
fps_RemoveRenderElement,
fps_RemoveAllRenderElements,
fps_NumRenderElements,
fps_GetRenderElement,
fps_SetElementsActive,
fps_GetElementsActive,
fps_SetDisplayElements,
fps_GetDisplayElements,
fps_SetCombustionOutputEnabled,
fps_GetCombustionOutputEnabled,
fps_SetCombustionOutputPath,
fps_GetCombustionOutputPath,
fps_SetRenderElementFilename,
fps_GetRenderElementFilename
} |
Public Member Functions
|
virtual
BOOL |
AppendMergedRenderElement (IRenderElement
*pRenderElement)=0 |
virtual
BOOL |
AppendMergedRenderElement (ReferenceTarget
*pRenderElement)=0 |
virtual
BOOL |
AddRenderElement (IRenderElement
*pRenderElement)=0 |
virtual
BOOL |
AddRenderElement (ReferenceTarget
*pRenderElement)=0 |
virtual
BOOL |
RemoveRenderElement (IRenderElement
*pRenderElement)=0 |
virtual
BOOL |
RemoveRenderElement (ReferenceTarget
*pRenderElement)=0 |
virtual
void |
RemoveAllRenderElements ()=0 |
virtual
int |
NumRenderElements ()=0 |
virtual
IRenderElement
* |
GetRenderElement (int index)=0 |
virtual
void |
SetElementsActive (BOOL elementsActive)=0 |
virtual
BOOL |
GetElementsActive () const =0 |
virtual
void |
SetDisplayElements (BOOL displayElements)=0 |
virtual
BOOL |
GetDisplayElements () const =0 |
virtual
void |
SetCombustionOutputEnabled (BOOL combustionOutEnabled)=0 |
virtual
BOOL |
GetCombustionOutputEnabled () const =0 |
virtual
void |
SetCombustionOutput (const MaxSDK::AssetManagement::AssetUser
&combustionOutputPath)=0 |
virtual
const
MaxSDK::AssetManagement::AssetUser
& |
GetCombustionOutput () const =0 |
Member Enumeration Documentation
- Enumerator:
-
fps_AddRenderElement |
|
fps_RemoveRenderElement |
|
fps_RemoveAllRenderElements |
|
fps_NumRenderElements |
|
fps_GetRenderElement |
|
fps_SetElementsActive |
|
fps_GetElementsActive |
|
fps_SetDisplayElements |
|
fps_GetDisplayElements |
|
fps_SetCombustionOutputEnabled |
|
fps_GetCombustionOutputEnabled |
|
fps_SetCombustionOutputPath |
|
fps_GetCombustionOutputPath |
|
fps_SetRenderElementFilename |
|
fps_GetRenderElementFilename |
|
{
fps_AddRenderElement, fps_RemoveRenderElement, fps_RemoveAllRenderElements,
fps_NumRenderElements, fps_GetRenderElement,
fps_SetElementsActive, fps_GetElementsActive,
fps_SetDisplayElements, fps_GetDisplayElements,
fps_SetCombustionOutputEnabled, fps_GetCombustionOutputEnabled,
fps_SetCombustionOutputPath, fps_GetCombustionOutputPath,
fps_SetRenderElementFilename, fps_GetRenderElementFilename,
};
Member Function Documentation
virtual BOOL AppendMergedRenderElement |
( |
IRenderElement * |
pRenderElement |
) |
[pure virtual] |
- Parameters:
- IRenderElement
*pRenderElement
A pointer to the Render Element to add.
- Returns:
- TRUE if the merging was successful, FALSE if it was not.
virtual BOOL AppendMergedRenderElement |
( |
ReferenceTarget * |
pRenderElement |
) |
[pure virtual] |
- Parameters:
-
ReferenceTarget *pRenderElement
A pointer to the Render Element to add.
- Returns:
- TRUE if the merging was successful, FALSE if it was not.
virtual BOOL AddRenderElement |
( |
IRenderElement * |
pRenderElement |
) |
[pure virtual] |
- Parameters:
- IRenderElement
*pRenderElement
A pointer to the Render Element to add.
- Returns:
- TRUE if the addition was successful, FALSE if it was not.
virtual BOOL AddRenderElement |
( |
ReferenceTarget * |
pRenderElement |
) |
[pure virtual] |
- Parameters:
-
ReferenceTarget *pRenderElement
A pointer to the Render Element to add.
- Returns:
- TRUE if the addition was successful, FALSE if it was not.
virtual BOOL RemoveRenderElement |
( |
IRenderElement * |
pRenderElement |
) |
[pure virtual] |
virtual BOOL RemoveRenderElement |
( |
ReferenceTarget * |
pRenderElement |
) |
[pure virtual] |
- Parameters:
-
ReferenceTarget *pRenderElement
A pointer to the Render Element to remove.
- Returns:
- TRUE if the addition was successful, FALSE if it was not.
virtual void RemoveAllRenderElements |
( |
|
) |
[pure virtual] |
virtual int NumRenderElements |
( |
|
) |
[pure virtual] |
- Parameters:
- int index
The index of the Render Element in the manager's list.
- Returns:
- A pointer to the specific Render Element or NULL if the index
is invalid.
virtual void SetElementsActive |
( |
BOOL |
elementsActive |
) |
[pure virtual] |
- Parameters:
- BOOL elementsActive
TRUE to activate the Render Elements List, FALSE to
deactivate.
virtual BOOL GetElementsActive |
( |
|
) |
const [pure virtual] |
virtual void SetDisplayElements |
( |
BOOL |
displayElements |
) |
[pure virtual] |
- Parameters:
- BOOL displayElements
TRUE to display in their own viewer, FALSE if you do not want
to.
virtual BOOL GetDisplayElements |
( |
|
) |
const [pure virtual] |
virtual void SetCombustionOutputEnabled |
( |
BOOL |
combustionOutEnabled |
) |
[pure virtual] |
- Parameters:
- BOOL combustionOutEnabled
TRUE to enable Combustion format file output.
virtual BOOL GetCombustionOutputEnabled |
( |
|
) |
const [pure virtual] |
IRenderElementMgr IRenderElementMgr
IRenderElementMgr IRenderElementMgr IRenderElementMgr
IRenderElementMgr IRenderElementMgr IRenderElementMgr
IRenderElementMgr IRenderElementMgr
IRenderElementMgr IRenderElementMgr
IRenderElementMgr IRenderElementMgr IRenderElementMgr
IRenderElementMgr IRenderElementMgr IRenderElementMgr
IRenderElementMgr IRenderElementMgr