WTOpenGLESRenderingMode Class Reference

Inherits from NSObject
Declared in WTOpenGLESRenderingMode.h


Base object for internal and external rendering modes for OpenGL ES rendering.

– version

Method that returns the OpenGL ES version with which this rendering mode was initialized.

- (EAGLRenderingAPI)version

Return Value

OpenGL ES version

Declared In


– eaglView

Method that returns a pre configured OpenGL ES View object that can be added to the view hierarchy.

This method is only relevant when using the Wikitude Native SDK with Internal rendering and will return nil otherwise.

- (WTEAGLView *)eaglView

Return Value

WTEAGLView A weak pointer to an OpenGL ES View.


Please note that the returned pointer is of type weak and the view should either be added to the view hierarchy within the scope of the calling method or retained (assigned to a strong propery) until the view was added to the view hierarhcy.

Declared In