Returns: Number of available display modes
The region of memory pointed to by buf is filled with a series of 16 byte [width:Int,height:Int,depth:Int,hertz:Int]
structures. No more than size bytes are written to buf.
Returns: True if successful
flags can be any combination of:
Flag value | Effect |
---|---|
BGL_FULLSCREEN | Create a full screen context |
BGL_BACKBUFFER | Create a context with a backbuffer |
BGL_ALPHABUFFER | Create a context with an alpha buffer |
BGL_DEPTHBUFFER | Create a context with a depth buffer |
BGL_STENCILBUFFER | Create a context with a stencil buffer |
BGL_ACCUMBUFFER | Create a context with an accumulation buffer |
By default, deletes current context.
Returns: True if successful, else false. Not all OpenGL drivers may support this function.
The current OpenGL context must have been created with the BGL_BACKBUFFER flag.
Returns: Base display list name containing first glyph
This functions rounds width and height up to the nearest valid texture size
Returns: Integer GL Texture name
pixmap is resized to a valid texture size before conversion.
Draws text relative to top-left of current viewport.
This function is intended for debugging purposes only - performance is unlikely to be stellar.
Module | brl.blitzgl |
Version | 1.01 |
Author | Mark Sibly |
License | Blitz Shared Source Code |
Copyright | Blitz Research Ltd |
Modserver | BRL |