Graphics

<dmsdk/graphics/graphics_native.h>

Platform specific native graphics functions.

dmGraphics::GetNativeAndroidActivity()

get Android native jobject

Get Android native jobject. Any other platform return zero.

RETURN

jobject -

jobject native handle


dmGraphics::GetNativeAndroidApp()

get Android app object

Get Android app object. Any other platform return zero.

RETURN

app -

struct android_app* native handle


dmGraphics::GetNativeAndroidEGLContext()

get Android EGLContext

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

RETURN

EGLContext -

EGLContext native handle


dmGraphics::GetNativeAndroidEGLSurface()

get Android EGLSurface

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

RETURN

EGLSurface -

EGLSurface native handle


dmGraphics::GetNativeAndroidJavaVM()

get Android native JavaVM

Get Android JavaVM ptr. Any other platform return zero.

RETURN

JavaVM* -

JavaVM* native handle


dmGraphics::GetNativeOSXNSOpenGLContext()

get OSX NSOpenGLContext

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

RETURN

id -

id native handle


dmGraphics::GetNativeOSXNSView()

get OSX NSView

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

RETURN

id -

id native handle


dmGraphics::GetNativeOSXNSWindow()

get OSX NSWindow

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

RETURN

id -

id native handle


dmGraphics::GetNativeWindowsHGLRC()

get Win32 HGLRC

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

RETURN

HGLRC -

HGLRC native handle


dmGraphics::GetNativeWindowsHWND()

get Win32 HWND

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

RETURN

HWND -

HWND native handle


dmGraphics::GetNativeX11GLXContext()

get Linux X11GLXContext

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

RETURN

GLXContext -

GLXContext native handle


dmGraphics::GetNativeX11Window()

get Linux X11Window

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

RETURN

Window -

Window native handle


dmGraphics::GetNativeiOSEAGLContext()

get iOS EAGLContext

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

RETURN

id -

id native handle


dmGraphics::GetNativeiOSUIView()

get iOS UIView

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

RETURN

id -

id native handle


dmGraphics::GetNativeiOSUIWindow()

get iOS UIWindow

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

RETURN

id -

id native handle