func_graphics_gltexfrompixmap.rst 437 B

12345678910111213141516171819202122232425262728293031323334
  1. .. _func_graphics_gltexfrompixmap:
  2. ===============
  3. GLTexFromPixmap
  4. ===============
  5. GLTexFromPixmap -
  6. Description
  7. ===========
  8. .. code-block:: blitzmax
  9. GLTexFromPixmap( pixmap:TPixmap,mipmap=True )
  10. Helper function to create a texture from a pixmap
  11. @pixmap is resized to a valid texture size before conversion.
  12. Parameters
  13. ==========
  14. Return Values
  15. =============
  16. Integer GL Texture name
  17. Examples
  18. ========
  19. See Also
  20. ========