Castle Game Engine: CastleGLUtils: Class EOpenGLOutOfMemoryError

# Class EOpenGLOutOfMemoryError
Description | Hierarchy | Fields | Methods | Properties
## Unit CastleGLUtils ## 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 Exception EOpenGLError EOpenGLOutOfMemoryError Generated by PasDoc 0.13.0 on 2015-06-15 04:43:10