LoadBrush.htm 959 B

1234567891011121314151617181920212223242526272829303132333435363738394041
  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>LoadBrush ( texture_file$[,flags][,u_scale][,v_scale]</h1>
  8. <h1>Parameters</h1>
  9. <table>
  10. <tr>
  11. <td>
  12. texture_file$ - filename of texture <br />
  13. flags - brush flags <br />
  14. <br />
  15. flags (optional) - flags can be added to combine effects: <br />
  16. 1: Color <br />
  17. 2: Alpha <br />
  18. 4: Masked <br />
  19. 8: Mipmapped <br />
  20. 16: Clamp U <br />
  21. 32: Clamp V <br />
  22. 64: Spherical reflection map <br />
  23. <br />
  24. u_scale - brush u_scale <br />
  25. v_scale - brush v_scale
  26. </td>
  27. </tr>
  28. </table>
  29. <h1>Description</h1>
  30. <table>
  31. <tr>
  32. <td>
  33. Creates a brush, loads and assigns a texture to it, and returns a brush handle.
  34. </td>
  35. </tr>
  36. </table>
  37. <br>
  38. <a target=_top href=../index.htm>Index</a><br>
  39. <br>
  40. Click <a href=http://www.blitzbasic.co.nz/b3ddocs/command.php?name=LoadBrush&ref=comments target=_blank>here</a> to view the latest version of this page online</body>
  41. </html>