FramebufferTexture.html 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  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 isFramebufferTexture]</h3>
  26. <p>
  27. Read-only flag to check if a given object is of type [name].
  28. </p>
  29. <h3>[property:Boolean needsUpdate]</h3>
  30. <p>
  31. True by default. This is required so that the canvas data is loaded.
  32. </p>
  33. <h2>Methods</h2>
  34. <p>See the base [page:Texture Texture] class for common methods.</p>
  35. <h2>Source</h2>
  36. <p>
  37. [link:https://github.com/mrdoob/three.js/blob/master/src/[path].js src/[path].js]
  38. </p>
  39. </body>
  40. </html>