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

OpenGL based shader. More...

#include <shader_opengl_interface.h>

Inheritance diagram for IShaderOpenGL:
IShader ISDKProperties

Public Member Functions

virtual SDKResult SDK_CALLTYPE GetProgramID (GLuint &program_id) const =0 throw ()
 Returns the OpenGL program ID The instance of IShaderOpenGL component should be also kept to prevent destruction of OpenGL native program object. To obtain the OpenGL context, which holds given program, use the GetOpenGLContext method.
 
virtual SDKResult SDK_CALLTYPE GetOpenGLContext (sdk::gfx::OpenGLGraphicsDeviceContext &opengl_ctx) const =0 throw ()
 Returns the OpenGL native device context, which holds given program.
 
- Public Member Functions inherited from ISDKProperties
virtual SDKResult SDK_CALLTYPE SetProperty (const SDKPropertyID &id, const SDKAny &value)=0 throw ()
 Sets a property value.
 
virtual SDKResult SDK_CALLTYPE GetProperty (const SDKPropertyID &id, SDKAny &value) const =0 throw ()
 Retrieves a property value.
 

Detailed Description

OpenGL based shader.


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