Tizen OpenTK provides a set of fast and low-level C# bindings for OpenGL® ES 2.0 APIs. From Tizen 5.0, it is integrated with Tizen Application Framework.
For developing the OpenGL® app using C# on the Tizen platform, an app developer uses TizenFX APIs, .NET Standard 2.0 APIs, and OpenTK APIs based on their needs.
Besides the OpenGL® ES APIs, OpenTK also provides several utility libraries including a math or linear algebra package, windowing system, and input handling for application developers.
After setting up the OpenTK development environment, you can quickly create graphic applications with the OpenGL® ES 2.0, such as ambient applications, games, dynamic partial, physics effect.
The OpenTK app offers the following features:
To use OpenTK in your application, understand the following OpenTK key concepts:
TizenGameApplication: The application lifecycle manager and base class of OpenTK app for Tizen.
TizenGameApplication is integrated with the Tizen Application framework. Therefore, you can get the events from the Tizen Application framework. The OpenTK app implements virtual lifecycle functions to customize their own app flow. For example,
OnDeviceOrientationChanged, and so on.
For more information, see Applications.
Window: An attribute of
TizenGameApplication. It provides window related attributes, which include
WindowInfo, and so on.
It also provides Events and OpenGL context related functions:
OpenGL® context related functions
WindowAttributes: An attribute of
TizenGameApplication. It provides window-controlling attributes, such as
WindowOpacity. It also provides a method