WTExternalMetalRenderingMode Class Reference

Inherits from WTMetalRenderingMode : NSObject
Declared in WTMetalRenderingMode.h

Overview

Object used by the Wikitude Native SDK to access data required for External rendering with Metal. 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 loop (30 or 60 FPS) and to pause and resume it when the application enters background/foreground.

– initWithDelegate:

The designated initializer to create an object of this class.

- (instancetype)initWithDelegate:(id<WTExternalMetalRenderingProtocol>)delegate

Parameters

delegate

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

Return Value

WTExternalMetalRenderingMode An object of type WTExternalMetalRenderingMode.

Declared In

WTMetalRenderingMode.h