Navigation
API > API/Runtime > API/Runtime/OpenGLDrv > API/Runtime/OpenGLDrv/FOpenGLBase
References
| Module | OpenGLDrv |
| Header | /Engine/Source/Runtime/OpenGLDrv/Public/OpenGL.h |
| Include | #include "OpenGL.h" |
static bool DiscardFrameBufferToResize&40;&41;
Remarks
Calling glBufferData() to discard-reupload is slower than calling glBufferSubData() on some platforms, because changing glBufferData() with a different size (from before) may incur extra validation. To use glBufferData() discard trick: set to this to true - otherwise, glBufferSubData() will used.