|
Kanzi Graphics Engine
|
OpenGL base header. More...
Macros | |
| #define | KZ_OPENGL_NONE |
| No OpenGL version specified. More... | |
| #define | KZ_OPENGL_ES_2_0 |
| OpenGL ES 2.0 version. More... | |
| #define | KZ_OPENGL_2_1 |
| Desktop OpenGL 2.1 version. More... | |
| #define | KZ_OPENGL_LATEST |
| Desktop OpenGL latest. More... | |
| #define | KZ_OPENGL_ES_3_0 |
| OpenGL ES 3.0 version. More... | |
| #define | KZ_OPENGL_4_3 |
| Desktop OpenGL 4.3 version. More... | |
| #define | KZ_PLATFORM_UNSPECIFIED |
| No platform specified. More... | |
| #define | KZ_PLATFORM_IMG |
| IMG platform. More... | |
| #define | KZ_PLATFORM_AMD |
| AMD platform. More... | |
| #define | KZ_PLATFORM_TEGRA |
| Tegra platform. More... | |
| #define | KZ_PLATFORM_DESKTOP |
| Desktop platform. More... | |
| #define | KZ_OPENGL_PLATFORM |
| #define | KZS_OPENGL_CALL_BEGIN |
| Macro to use for starting OpenGL calls to allow disabling them with a control flag. More... | |
| #define | KZS_OPENGL_CALL_END |
| Macro to use for enging OpenGL calls to allow disabling them with a control flag. More... | |
| #define | KZS_OPENGL_CALL_END_RETURN_VALUE(x) |
| Macro to use for enging OpenGL calls with a return value to allow disabling them with a control flag. More... | |
Functions | |
| void | kzsOpenGLCallsSetEnabled (kzBool enabled) |
| Sets OpenGL calls enabled / disabled. More... | |
| kzBool | kzsOpenGLCallsIsEnabled (void) |
| Checks if opengl calls are enabled. More... | |
| kzsError | kzsOpenGLInitialize (void) |
| Initializes OpenGL, associates extensions needed for OpenGL profile. More... | |
Variables | |
| const kzUint | KZS_OPENGL_BINARY_FORMAT |
| OpenGL binary shader format identifier. More... | |
| const kzString | KZS_OPENGL_BINARY_NAME |
| OpenGL binary shader format name. More... | |
| const kzBool | KZS_OPENGL_USE_PROGRAM_BINARY_EXTENSION |
| Use OES_get_program_binary extension when loading combined binary shaders. More... | |
| kzBool | g_kzsEnableOpenGLCalls |
| Global variable for controlling if OpenGL calls are enabled. More... | |
OpenGL base header.
Copyright 2008-2019 by Rightware. All rights reserved.
| #define KZ_OPENGL_NONE |
No OpenGL version specified.
| #define KZ_OPENGL_ES_2_0 |
OpenGL ES 2.0 version.
| #define KZ_OPENGL_2_1 |
Desktop OpenGL 2.1 version.
| #define KZ_OPENGL_LATEST |
Desktop OpenGL latest.
| #define KZ_OPENGL_ES_3_0 |
OpenGL ES 3.0 version.
| #define KZ_OPENGL_4_3 |
Desktop OpenGL 4.3 version.
| #define KZ_PLATFORM_UNSPECIFIED |
No platform specified.
| #define KZ_PLATFORM_IMG |
IMG platform.
| #define KZ_PLATFORM_AMD |
AMD platform.
| #define KZ_PLATFORM_TEGRA |
Tegra platform.
| #define KZ_PLATFORM_DESKTOP |
Desktop platform.
| #define KZ_OPENGL_PLATFORM |
| #define KZS_OPENGL_CALL_BEGIN |
Macro to use for starting OpenGL calls to allow disabling them with a control flag.
| #define KZS_OPENGL_CALL_END |
Macro to use for enging OpenGL calls to allow disabling them with a control flag.
| #define KZS_OPENGL_CALL_END_RETURN_VALUE | ( | x) |
Macro to use for enging OpenGL calls with a return value to allow disabling them with a control flag.
Initializes OpenGL, associates extensions needed for OpenGL profile.
This function should be called once, after the first GL context has been created.
| const kzUint KZS_OPENGL_BINARY_FORMAT |
OpenGL binary shader format identifier.
| const kzString KZS_OPENGL_BINARY_NAME |
OpenGL binary shader format name.
| const kzBool KZS_OPENGL_USE_PROGRAM_BINARY_EXTENSION |
Use OES_get_program_binary extension when loading combined binary shaders.
| kzBool g_kzsEnableOpenGLCalls |
Global variable for controlling if OpenGL calls are enabled.