Public Types | Public Member Functions

IRenderElementCompatible Class Reference

This reference page is linked to from the following overview topics: Tabbed Dialogs.


Search for all occurrences

Detailed Description

See also:
Class IRenderElement , Render Elements

Description:
This class is available in release 4.0 and later only.

The system will ask a Renderer for this interface by calling Renderer::GetInterface (IRenderElementCompatible::IID). If the Renderer returns a pointer to this interface, it is implied that the Renderer supports render elements. The system will then call IRenderElementCompatible::IsCompatible() to determine if an IRenderElement instance is compatible with it. To determine compatibility, the Renderer can call IRenderElement::GetInterface() (inherited from class Animatable), passing in an interface ID that a compatible IRenderElement would understand. If the Renderer receives a valid interface pointer, it can return TRUE to IRenderElementCompatible::IsCompatible().

#include <renderelements.h>

Inheritance diagram for IRenderElementCompatible:
Inheritance graph
[legend]

List of all members.

Public Types

enum   { IID = 0xcafeface }

Public Member Functions

virtual BOOL  IsCompatible (IRenderElement *pIRenderElement)=0

Member Enumeration Documentation

anonymous enum
Enumerator:
IID 
{ IID = 0xcafeface };

Member Function Documentation

virtual BOOL IsCompatible ( IRenderElement pIRenderElement ) [pure virtual]
Remarks:
This method determines if the specified IRenderElement instance is compatible with the renderer.
Parameters:
IRenderElement *pIRenderElement

A pointer to the IRenderElement to check for compatibility.
Returns:
TRUE if the RenderElement is compatible, FALSE if it is not.

IRenderElementCompatible IRenderElementCompatible IRenderElementCompatible IRenderElementCompatible IRenderElementCompatible IRenderElementCompatible IRenderElementCompatible IRenderElementCompatible IRenderElementCompatible IRenderElementCompatible
IRenderElementCompatible IRenderElementCompatible IRenderElementCompatible IRenderElementCompatible IRenderElementCompatible IRenderElementCompatible IRenderElementCompatible IRenderElementCompatible IRenderElementCompatible IRenderElementCompatible