NAVTOR SDK  v.3.0
Software Development Kit for fast and efficient development of ECDIS, ECS and generic marine applications
2d_render_target_utils_interface.h
Go to the documentation of this file.
1 #ifndef SDK_2D_RENDER_TARGET_UTILS_INTERFACE_H_
11 #define SDK_2D_RENDER_TARGET_UTILS_INTERFACE_H_
12 #pragma once
13 
14 #include <base/inc/platform.h>
15 #include <base/inc/base_types.h>
17 
18 namespace sdk {
19 namespace gfx {
20 
23 class I2DRenderTargetUtils : public sdk::ISDKComponent
24 {
25 public:
34  virtual SDKResult SDK_CALLTYPE RefGenericGraphicsContext(
35  const sdk::SDKComponentSP& graphics_context) throw() = 0;
36  virtual SDKResult SDK_CALLTYPE UnrefGenericGraphicsContext() throw() = 0;
37 
39  SDK_IMPLEMENT_IID(I2DRenderTargetUtils)
40  SDK_END_INTERFACE(I2DRenderTargetUtils)
41 };
42 SDK_DECLARE_IID(I2DRenderTargetUtils)
43 
44 } // namespace gfx
45 } // namespace sdk
46 
47 #endif // SDK_2D_RENDER_TARGET_INTERFACE_H_
base_types.h
SDK base types.
sdk::gfx::I2DRenderTargetUtils::RefGenericGraphicsContext
virtual SDKResult SDK_CALLTYPE RefGenericGraphicsContext(const sdk::SDKComponentSP &graphics_context)=0
Render target does not holds any references to appropriate DirectX/OpenGL context....
SDKResult
SDKInt32 SDKResult
Type of all error or return codes which SDK functions can end with.
Definition: sdk_results.h:17
sdk_component_interface.h
Common base SDK interfaces.
platform.h
Describes the platform constants.
sdk::gfx::I2DRenderTargetUtils
Generic 2D render target utilities.
Definition: 2d_render_target_utils_interface.h:23