Windowed3D.htm 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  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>Windowed3D()</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. Windowed3D returns true if the host machine's selected graphics card is capable of rendering 3D graphics in a window using the current desktop colour depth. <br />
  21. <br />
  22. This mainly concerns older graphics cards, some of which may not be able to render 3D in a window at all, while others maybe be able to only render in a window if the user's desktop is set to a certain colour depth such as 16.
  23. </td>
  24. </tr>
  25. </table>
  26. <h1><a href=../3d_examples/Windowed3D.bb>Example</a></h1>
  27. <table>
  28. <tr>
  29. <td>
  30. If Windowed3D () <br />
  31. Graphics3D 640, 480, 0, 2 <br />
  32. Print "Windowed mode!" <br />
  33. Else <br />
  34. Graphics3D 640, 480, 0, 1 <br />
  35. Print "Full screen modes only!" <br />
  36. EndIf <br />
  37. <br />
  38. MouseWait <br />
  39. End
  40. </td>
  41. </tr>
  42. </table>
  43. <br>
  44. <a target=_top href=../index.htm>Index</a><br>
  45. <br>
  46. Click <a href=http://www.blitzbasic.co.nz/b3ddocs/command.php?name=Windowed3D&ref=comments target=_blank>here</a> to view the latest version of this page online</body>
  47. </html>