- Select ref document -

SDK Graphics API documentation

version 1.2.154

<dmsdk/graphics/graphics_native.h>

Platform specific native graphics functions.

Functions

dmGraphics::GetNativeAndroidActivity

dmGraphics::GetNativeAndroidActivity()

Get Android native jobject. Any other platform return zero.

Returns

jobject

jobject native handle

jobject

jobject native handle

dmGraphics::GetNativeAndroidApp

dmGraphics::GetNativeAndroidApp()

Get Android app object. Any other platform return zero.

Returns

app

struct android_app* native handle

app

struct android_app* native handle

dmGraphics::GetNativeAndroidEGLContext

dmGraphics::GetNativeAndroidEGLContext()

Get Android EGLContext native handle (EGLContext). Any other platform return zero.

Returns

EGLContext

EGLContext native handle

EGLContext

EGLContext native handle

dmGraphics::GetNativeAndroidEGLSurface

dmGraphics::GetNativeAndroidEGLSurface()

Get Android EGLSurface native handle (EGLSurface). Any other platform return zero.

Returns

EGLSurface

EGLSurface native handle

EGLSurface

EGLSurface native handle

dmGraphics::GetNativeAndroidJavaVM

dmGraphics::GetNativeAndroidJavaVM()

Get Android JavaVM ptr. Any other platform return zero.

Returns

JavaVM*

JavaVM* native handle

JavaVM*

JavaVM* native handle

dmGraphics::GetNativeOSXNSOpenGLContext

dmGraphics::GetNativeOSXNSOpenGLContext()

Get OSX NSOpenGLContext native handle (id). Any other platform return zero.

Returns

id

id native handle

id

id native handle

dmGraphics::GetNativeOSXNSView

dmGraphics::GetNativeOSXNSView()

Get OSX NSView native handle (id). Any other platform return zero.

Returns

id

id native handle

id

id native handle

dmGraphics::GetNativeOSXNSWindow

dmGraphics::GetNativeOSXNSWindow()

Get OSX NSWindow native handle (id). Any other platform return zero.

Returns

id

id native handle

id

id native handle

dmGraphics::GetNativeWindowsHGLRC

dmGraphics::GetNativeWindowsHGLRC()

Get Win32 gl rendercontext native handle (HGLRC). Any other platform return zero.

Returns

HGLRC

HGLRC native handle

HGLRC

HGLRC native handle

dmGraphics::GetNativeWindowsHWND

dmGraphics::GetNativeWindowsHWND()

Get Win32 windows native handle (HWND). Any other platform return zero.

Returns

HWND

HWND native handle

HWND

HWND native handle

dmGraphics::GetNativeX11GLXContext

dmGraphics::GetNativeX11GLXContext()

Get Linux X11GLXContext native handle (GLXContext). Any other platform return zero.

Returns

GLXContext

GLXContext native handle

GLXContext

GLXContext native handle

dmGraphics::GetNativeX11Window

dmGraphics::GetNativeX11Window()

Get Linux X11Window windows native handle (Window). Any other platform return zero.

Returns

Window

Window native handle

Window

Window native handle

dmGraphics::GetNativeiOSEAGLContext

dmGraphics::GetNativeiOSEAGLContext()

Get iOS EAGLContext native handle (id). Any other platform return zero.

Returns

id

id native handle

id

id native handle

dmGraphics::GetNativeiOSUIView

dmGraphics::GetNativeiOSUIView()

Get iOS UIView native handle (id). Any other platform return zero.

Returns

id

id native handle

id

id native handle

dmGraphics::GetNativeiOSUIWindow

dmGraphics::GetNativeiOSUIWindow()

Get iOS UIWindow native handle (id). Any other platform return zero.

Returns

id

id native handle

id

id native handle