FramebufferTexture.html 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  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. [page:Texture] &rarr;
  11. <h1>[name]</h1>
  12. <p class="desc">
  13. This class can only be used in combination with [page:WebGLRenderer.copyFramebufferToTexture]().
  14. </p>
  15. <h2>Constructor</h2>
  16. <h3>[name]( [param:Number width], [param:Number height], [param:Constant format] )</h3>
  17. <p>
  18. [page:Number width] -- The width of the texture.<br />
  19. [page:Number height] -- The height of the texture.<br />
  20. [page:Constant format] -- The format used in the texture.
  21. See [page:Textures format constants] for other choices.<br />
  22. </p>
  23. <h2>Properties</h2>
  24. <p>See the base [page:Texture Texture] class for common properties.</p>
  25. <h3>[property:Boolean needsUpdate]</h3>
  26. <p>
  27. True by default. This is required so that the canvas data is loaded.
  28. </p>
  29. <h2>Methods</h2>
  30. <p>See the base [page:Texture Texture] class for common methods.</p>
  31. <h2>Source</h2>
  32. <p>
  33. [link:https://github.com/mrdoob/three.js/blob/master/src/[path].js src/[path].js]
  34. </p>
  35. </body>
  36. </html>