WTInternalOpenGLESRenderingProtocol Protocol Reference
Conforms to | NSObject |
---|---|
Declared in | WTOpenGLESRenderingMode.h |
Overview
WTInternalOpenGLESRenderingProtocol is used to handle information exchange between the Wikitude Native SDK and an app that is using internal rendering.
– wikitudeNativeSDKNeedsExternalOpenGLESUpdateHandler:
required method
Called during -start:completion: method of the WTWikitudeNativeSDK.
This method is called to retrieve a custom update handler object. The handler is then invoked every frame to update Wikitude external logic.
- (nonnull WTCustomOpenGLESUpdateHandler)wikitudeNativeSDKNeedsExternalOpenGLESUpdateHandler:(WTWikitudeNativeSDK *)wikitudeNativeSDK
Parameters
wikitudeNativeSDK |
The Wikitude Native SDK object that needs an external update handler. |
---|
Return Value
WTCustomOpenGLESUpdateHandler A custom update handler object that is invoked every frame by the Wikitude native SDK when OpenGL ES rendering is used.
Declared In
WTOpenGLESRenderingMode.h
– wikitudeNativeSDKNeedsExternalOpenGLESDrawHandler:
required method
Called during -start:completion: method of the WTWikitudeNativeSDK.
This method is called to retrieve a custom draw handler object. The handler is then invoked every frame to issue Wikitude external draw commands in OpenGL ES.
- (nonnull WTCustomOpenGLESDrawHandler)wikitudeNativeSDKNeedsExternalOpenGLESDrawHandler:(WTWikitudeNativeSDK *)wikitudeNativeSDK
Parameters
wikitudeNativeSDK |
The Wikitude Native SDK object that needs an external OpenGL ES draw handler. |
---|
Return Value
WTCustomOpenGLESDrawHandler A custom draw handler object that is invoked every frame by the Wikitude Native SDK when OpenGL ES rendering is used.
Declared In
WTOpenGLESRenderingMode.h