NAVTOR SDK  v.3.0
Software Development Kit for fast and efficient development of ECDIS, ECS and generic marine applications
I2DRenderTargetUtils Class Referenceabstract

Generic 2D render target utilities. More...

#include <2d_render_target_utils_interface.h>

Inherits ISDKComponent.

Public Member Functions

virtual SDKResult SDK_CALLTYPE RefGenericGraphicsContext (const sdk::SDKComponentSP &graphics_context)=0 throw ()
 Render target does not holds any references to appropriate DirectX/OpenGL context. To prevent the destroying of context externally while render target is still alive, sometimes it's needed to initialize render target with it's context. The render target just adds one reference to context, this allows to control the context lifetime and destroy it only after appropriate render target was also destroyed. The internal implementation of DirectX/OpenGL context holder is unknown for render target, so given holder can be passed as a generic component.
 

Detailed Description

Generic 2D render target utilities.


The documentation for this class was generated from the following file: