Public Member Functions

IDX9DataBridge Class Reference

This reference page is linked to from the following overview topics: Plug-in Base Classes, Hardware Rendered Materials.


Search for all occurrences

#include <IViewportManager.h>

Inheritance diagram for IDX9DataBridge:
Inheritance graph
[legend]

List of all members.

Public Member Functions

virtual LifetimeType  LifetimeControl ()
virtual Interface_ID  GetID ()
virtual float  GetDXVersion ()=0
  Versioning.

Member Function Documentation

virtual LifetimeType LifetimeControl ( ) [inline, virtual]
Remarks:
This method allows inquiries into the actual lifetime policy of a client and provide a server-controlled delete notify callback.
Returns:
One of the following LifetimeTypes:

noRelease

Do not call release, use interface as long as you like.

immediateRelease

The interface is only good for one calls. The release is implied so a call to release is not required.

wantsRelease

The clients are controlling the lifetime, so the interface needs a Release() when the client has finished. This is the default.

serverControlled

The server controls the lifetime and will use the InterfaceNotifyCallback to inform the code when it is gone.
Default Implementation:
{ return noRelease; }

Reimplemented from IDXDataBridge.

{ return noRelease; }
virtual Interface_ID GetID ( ) [inline, virtual]
Remarks:
The returns the unique ID for this interface. By default it will return VIEWPORT_SHADER_CLIENT_INTERFACE

Reimplemented from IDXDataBridge.

{ return VIEWPORT_SHADER9_CLIENT_INTERFACE; }
virtual float GetDXVersion ( ) [pure virtual]

Versioning.

The system uses this to determine whether the effect is compatible to the current GFX loaded on MAX

Returns:
8.1 or 9.0 etc...

IDX9DataBridge IDX9DataBridge IDX9DataBridge IDX9DataBridge IDX9DataBridge IDX9DataBridge IDX9DataBridge IDX9DataBridge IDX9DataBridge IDX9DataBridge
IDX9DataBridge IDX9DataBridge IDX9DataBridge IDX9DataBridge IDX9DataBridge IDX9DataBridge IDX9DataBridge IDX9DataBridge IDX9DataBridge IDX9DataBridge