TextureUtils.html 727 B

12345678910111213141516171819202122232425262728
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="utf-8" />
  5. <base href="../../../" />
  6. <script src="page.js"></script>
  7. <link type="text/css" rel="stylesheet" href="page.css" />
  8. </head>
  9. <body>
  10. <h1>[name]</h1>
  11. <p class="desc">A class containing utility functions for textures.</p>
  12. <h2>Methods</h2>
  13. <h3>[method:Number getByteLength]( [param:Number width], [param:Number height], [param:Number format], [param:Number type] )</h3>
  14. <p>
  15. Given the width, height, format, and type of a texture. Determines how
  16. many bytes must be used to represent the texture.
  17. </p>
  18. <h2>Source</h2>
  19. <p>
  20. [link:https://github.com/mrdoob/three.js/blob/master/src/[path].js src/[path].js]
  21. </p>
  22. </body>
  23. </html>