Class EOpenGLOutOfMemoryError

DescriptionHierarchyFieldsMethodsProperties

Unit

Declaration

type EOpenGLOutOfMemoryError = class(EOpenGLError)

Description

no description available, EOpenGLError description follows

OpenGL error. Usually indicates a bug in your code (or shader code, depending on TUniformNotFoundAction and TUniformTypeMismatchAction; by default, they do not cause errors).

When programming for platforms with limited GPU memory (Android, iOS...) you should prepare to handle EOpenGLOutOfMemoryError (corresponding to GL_OUT_OF_MEMORY). This can always happen for large GPU data, and you should be prepared to capture it (at least around TGameSceneManager.LoadLevel) and display some nice information for user. Alternatively, you can leave GLOutOfMemoryError = False, and then EOpenGLOutOfMemoryError will not happen, but you risk all kinds of rendering artifacts.

Hierarchy


Generated by PasDoc 0.13.0 on 2014-08-30 12:10:35