PathEngine home previous: DLLExport_CP3D_GetInterfacesnext: DLLExport_GetIPathEngine
Contents, API Reference, Functions, DLLExport_GetIContentProcessing3D

DLLExport_GetIContentProcessing3D

Description

Obtains the root interface to call into the 3D content processing dll (dll linkage).

Syntax

This function is defined internally by the 3D content processing dll, as follows:
extern "C"
{
    iContentProcessing3D* __stdcall DLLExport_GetIContentProcessing3D(iErrorHandler* handler);
}

Parameters

error_handler A pointer to an object PathEngine will call to handle errors. This pointer must remain valid until PathEngine is shut down.

Return Value

A pointer to the Interface iContentProcessing3D, a minimal root interface for dll linkage with PathEngine's 3D content processing functionality.

Remarks

This function is exported at ordinal 1, and can be obtained by calling GetProcAddress(hInstance, (LPCSTR)1) after loading the 3D content processing dll.
(See Linking with the 3D Content Processing for more information about linking with the 3D content processing.)

This function is provided for backward compatibility, and is replaced by DLLExport_CP3D_GetInterfaces, which also provides a pointer to the PathEngine root interface.
(This root interface pointer makes it possible to call core PathEngine functionality through the 3D content processing dll, and, notably, to work with ground meshes generated directly from source content with iContentProcessing3D::buildGround().)

See 3D Content Processing for more information about PathEngine's 3D content processing functionality, in general.


Documentation for PathEngine release 6.00 - Copyright © 2002-2016 PathEnginenext: DLLExport_GetIPathEngine