TotalVidMem.htm 933 B

12345678910111213141516171819202122232425262728293031323334353637
  1. <html>
  2. <head>
  3. <title>Blitz3D Docs</title>
  4. <link rel=stylesheet href=../css/commands.css type=text/css>
  5. </head>
  6. <body>
  7. <h1>TotalVidMem()</h1>
  8. <h1>Parameters</h1>
  9. <table>
  10. <tr>
  11. <td>
  12. None.
  13. </td>
  14. </tr>
  15. </table>
  16. <h1>Description</h1>
  17. <table>
  18. <tr>
  19. <td>
  20. TotalVidMem () simply returns the total available memory on a graphics card, in bytes. Note that to retrieve the currently available number of bytes, you should use AvailVidMem ().
  21. </td>
  22. </tr>
  23. </table>
  24. <h1><a href=../2d_examples/TotalVidMem.bb>Example</a></h1>
  25. <table>
  26. <tr>
  27. <td>
  28. Print "Total graphics memory available: " + TotalVidMem () + " bytes." <br />
  29. ; NOTE: To retrieve the *available* graphics memory, use AvailVidMem ()!
  30. </td>
  31. </tr>
  32. </table>
  33. <br>
  34. <a target=_top href=../index.htm>Index</a><br>
  35. <br>
  36. Click <a href=http://www.blitzbasic.co.nz/b3ddocs/command.php?name=TotalVidMem&ref=comments target=_blank>here</a> to view the latest version of this page online</body>
  37. </html>