Namespace: dmGraphics
Language: C++
Type: Defold C++
File: graphics_native.h
Source: engine/graphics/src/dmsdk/graphics/graphics_native.h
Include: dmsdk/graphics/graphics_native.h
Platform specific native graphics functions.
Type: FUNCTION Get Android native jobject. Any other platform return zero.
Returns
jobject (jobject) - native handleType: FUNCTION Get Android app object. Any other platform return zero.
Returns
app (struct android_app*) - native handleType: FUNCTION Get Android EGLContext native handle (EGLContext). Any other platform return zero.
Returns
EGLContext (EGLContext) - native handleType: FUNCTION Get Android EGLSurface native handle (EGLSurface). Any other platform return zero.
Returns
EGLSurface (EGLSurface) - native handleType: FUNCTION Get Android JavaVM ptr. Any other platform return zero.
Returns
JavaVM* (JavaVM*) - native handleType: FUNCTION Get iOS EAGLContext native handle (id). Any other platform return zero.
Returns
id (id) - native handleType: FUNCTION Get iOS UIView native handle (id). Any other platform return zero.
Returns
id (id) - native handleType: FUNCTION Get iOS UIWindow native handle (id). Any other platform return zero.
Returns
id (id) - native handleType: FUNCTION Get OSX NSOpenGLContext native handle (id). Any other platform return zero.
Returns
id (id) - native handleType: FUNCTION Get OSX NSView native handle (id). Any other platform return zero.
Returns
id (id) - native handleType: FUNCTION Get OSX NSWindow native handle (id). Any other platform return zero.
Returns
id (id) - native handleType: FUNCTION Get Win32 gl rendercontext native handle (HGLRC). Any other platform return zero.
Returns
HGLRC (HGLRC) - native handleType: FUNCTION Get Win32 windows native handle (HWND). Any other platform return zero.
Returns
HWND (HWND) - native handleType: FUNCTION Get Linux X11GLXContext native handle (GLXContext). Any other platform return zero.
Returns
GLXContext (GLXContext) - native handleType: FUNCTION Get Linux X11Window windows native handle (Window). Any other platform return zero.
Returns
Window (Window) - native handle