WTNativeSDKStartupConfiguration Class Reference

Inherits from WTStartupConfiguration : NSObject
Declared in WTNativeSDKStartupConfiguration.h

Overview

WTNativeSDKStartupConfiguration represents configuration values that are specific to the Wikitude Native SDK.

  cameraRenderingTargetTexture

The target texture that should be used to draw the camera frame onto.

@property (nonatomic, assign) GLuint cameraRenderingTargetTexture

Discussion

@default 0

You should only use this property if your application has already setup a fixed rendering pipeline and wants the Wikitude SDK to draw the camera frame onto a very specific OpenGL ES 2 texture. Under normal circumstances, WTRenderingMode_External should be used if the Wikitude SDK should draw the camera frame in an already existing rendering environment.

Declared In

WTNativeSDKStartupConfiguration.h

  targetRenderingAPI

The rendering API that should be used to draw the camera frame

@property (nonatomic, copy) NSOrderedSet<WTRenderingAPI> *targetRenderingAPI

Discussion

@default WTRenderingAPI_OpenGL_ES_2

You can use this to tell the SDK which rendering API to use, so that it matches with the one you are using to render.

Declared In

WTNativeSDKStartupConfiguration.h