NAVTOR SDK
v.3.0
Software Development Kit for fast and efficient development of ECDIS, ECS and generic marine applications
Home
API Guides
API Reference
Samples
About SDK
graphic_context_opengl_interface.h
Go to the documentation of this file.
1
10
#ifndef SDK_VIS_GRAPHIC_CONTEXT_OPENGL_INTERFACE_H_
11
#define SDK_VIS_GRAPHIC_CONTEXT_OPENGL_INTERFACE_H_
12
#pragma once
13
14
#include <
base/inc/platform.h
>
15
#include <
base/inc/base_types.h
>
16
#include <
base/inc/sdk_component_interface.h
>
17
#include <
base/inc/sdk_ref_ptr.h
>
18
#include <
visualizationlayer/inc/graphics/os_specific_types.h
>
19
#include "../graphic_context_interface.h"
20
21
namespace
sdk {
22
namespace
vis {
23
namespace
scene {
24
25
FWD_DECL_INTERFACE
(IGraphicContextOpenGL)
28
class
IGraphicContextOpenGL
: public
IGraphicContext
29
{
30
public
:
32
virtual
SDKResult
SDK_CALLTYPE GetOpenGLContext(
33
sdk::gfx::OpenGLGraphicsDeviceContext& opengl_ctx)
throw
() = 0;
34
36
virtual
SDKResult
SDK_CALLTYPE CreateShaderOnMemory(
37
const
SDKUInt8* vertex_shader_data, SDKUInt32 vertex_shader_data_size,
38
const
SDKUInt8* geometry_shader_data, SDKUInt32 geometry_shader_data_size,
39
const
SDKUInt8* fragment_shader_data, SDKUInt32 fragment_shader_data_size,
40
IShaderSP& shader)
throw
() = 0;
41
42
SDK_IMPLEMENT_IID(
IGraphicContextOpenGL
)
43
SDK_END_INTERFACE(
IGraphicContextOpenGL
)
44
};
45
SDK_DECLARE_IID(
IGraphicContextOpenGL
)
46
47
}
// namespace scene
48
}
// namespace vis
49
}
// namespace sdk
50
51
#endif // SDK_VIS_GRAPHIC_CONTEXT_OPENGL_INTERFACE_H_
base_types.h
SDK base types.
sdk_ref_ptr.h
Interfaces wrapper with reference count control.
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.
os_specific_types.h
Set of structures, which is specific for each of OS, like OpenGL context parameters for Linux or Dire...
sdk::vis::scene::IGraphicContext
Gives centralized access to all graphic resources.
Definition:
graphic_context_interface.h:138
FWD_DECL_INTERFACE
FWD_DECL_INTERFACE(ILWEParserWrapper)
Provides a wrapper around the message parser to get, add or remove the.
sdk::vis::scene::IGraphicContextOpenGL
Gives centralized access to specific to OpenGL graphic resources.
Definition:
graphic_context_opengl_interface.h:28
visualizationlayer
inc
scene
opengl
graphic_context_opengl_interface.h
Generated on Fri Oct 2 2026 12:39:10 for NAVTOR SDK by
1.8.17