WTExternalOpenGLESRenderingMode Class Reference

Inherits from WTOpenGLESRenderingMode : NSObject
Declared in WTOpenGLESRenderingMode.h

Overview

Object used by the Wikitude Native SDK to access data required for External rendering with OpenGL ES. Using rendering mode external, the Wikitude Native SDK is driven by an external render loop. It’s the external renderer’s responsibility to start an appropriate render lool (30 or 60 FPS) and to pause and resume it when the application enters background/foreground.

– initWithDelegate:andVersion:

The designated initialized to create an object of this class.

- (instancetype)initWithDelegate:(id<WTExternalOpenGLESRenderingProtocol>)delegate andVersion:(EAGLRenderingAPI)version

Parameters

delegate

The object that acts as a delegate for External rendering calls.

version

The OpenGL ES version that should be used.

Return Value

WTExternalOpenGLESRenderingMode An object of type WTExternalOpenGLESRenderingMode.

Declared In

WTOpenGLESRenderingMode.h