Class EOpenGLOutOfMemoryError
Unit
Declaration
type EOpenGLOutOfMemoryError = class(EOpenGLError)
Description
GPU memory is not sufficient.
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 (around loading your data) 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
- TObject
- Exception
- EOpenGLError
- EOpenGLOutOfMemoryError
Generated by PasDoc 0.16.0.