BRL.GLGraphics: | Functions | Modinfo | Source |
Function GLAdjustTexSize( width Var,height Var ) | |
Description | Helper function to calculate nearest valid texture size. |
Information | This functions rounds width and height up to the nearest valid texture size. |
Function GLDrawText( text$,x,y ) | |
Description | Helper function to output some simple 8x16 font text. |
Information | Draws text relative to top-left of current viewport. This function is intended for debugging purposes only - performance is unlikely to be stellar. |
Function GLGraphics:TGraphics( width,height,depth=0,hertz=60,flags=GRAPHICS_BACKBUFFER|GRAPHICS_DEPTHBUFFER ) | |
Returns | An OpenGL graphics object. |
Description | Create OpenGL graphics. |
Information | This is a convenience function that allows you to easily create an OpenGL graphics context. |
Function GLGraphicsDriver:TGLGraphicsDriver() | |
Returns | An OpenGL graphics driver. |
Description | Get OpenGL graphics driver. |
Information | The returned driver can be used with SetGraphicsDriver. |
Function GLTexFromPixmap( pixmap:TPixmap,mipmap=True ) | |
Returns | Integer GL Texture name. |
Description | Helper function to create a texture from a pixmap. |
Information | pixmap is resized to a valid texture size before conversion. |
Version | 1.11 |
---|---|
Author | Mark Sibly, Simon Armstrong |
License | Blitz Shared Source Code |
Copyright | Blitz Research Ltd |
Modserver | BRL |
History | 1.11 Release |
History | Trapped Win32 WM_CLOSE |
History | 1.10 Release |
History | Added extra check for use of flip sync extensions under Linux |
History | 1.09 Release |
History | Fixed MacOS shared context |
History | 1.08 Release |
History | Minor maintanance |
History | 1.07 Release |
History | Fixed Linux _calchertz |
History | 1.06 Release |
History | Changed MacOS DisplayCapture to CaptureAllDisplays |
History | 1.05 Release |
History | Added SetAcceptsMouseMovedEvents to MacOS windowed mode |
History | 1.04 Release |
History | Fixed (removed for now) MacOS atexit issue |
History | 1.03 Release |
History | Linux fullscreen fixed |
History | 1.02 Release |
History | Added AppTitle support |
History | 1.01 Release |
History | Added graphics flags handling |