InterleavedBuffer.html 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="utf-8" />
  5. <base href="../../" />
  6. <script src="list.js"></script>
  7. <script src="page.js"></script>
  8. <link type="text/css" rel="stylesheet" href="page.css" />
  9. </head>
  10. <body>
  11. <h1>[name]</h1>
  12. <div class="desc">
  13. </div>
  14. <h2>Constructor</h2>
  15. <h3>[name]( [page:TypedArray array], [page:Integer stride] )</h3>
  16. <div>
  17. </div>
  18. <h2>Properties</h2>
  19. <h3>[property:Array array]</h3>
  20. <div>
  21. </div>
  22. <h3>[property:Integer stride]</h3>
  23. <div>
  24. </div>
  25. <h3>[property:Integer count]</h3>
  26. <div>
  27. Gives the total number of elements in the array.
  28. </div>
  29. <h3>[property:Boolean dynamic]</h3>
  30. <div>
  31. Default is *false*.
  32. </div>
  33. <h3>[property:Object updateRange]</h3>
  34. <div>
  35. Object containing offset and count.
  36. </div>
  37. <h3>[property:Number updateRange.offset]</h3>
  38. <div>
  39. DEfault is *0*.
  40. </div>
  41. <h3>[property:Number updateRange.count]</h3>
  42. <div>
  43. Default is *-1*.
  44. </div>
  45. <h3>[property:Integer version]</h3>
  46. <div>
  47. A version number, incremented every time the needsUpdate property is set to true.
  48. </div>
  49. <h3>[property:Integer isInterleavedBuffer]</h3>
  50. <div>
  51. Default is *true*.
  52. </div>
  53. <h3>[property:Integer needsUpdate]</h3>
  54. <div>
  55. Default is *false*. Setting this to true increments [page:InterleavedBuffer.version version].
  56. </div>
  57. <h2>Methods</h2>
  58. <h3>[method:null setArray] ( [page:TypedArray array] ) </h3>
  59. <div>
  60. array - must be a Typed Array.
  61. </div>
  62. <h3>[method:InterleavedBuffer setDynamic] ( [page:Boolean value] ) </h3>
  63. <div>
  64. Set [page:InterleavedBuffer.dynamic dynamic] to value.
  65. </div>
  66. <h3>[method:InterleavedBuffer copy]( source ) </h3>
  67. <div>
  68. Copy the array, count, stride and value of dynamic to this.
  69. </div>
  70. <h3>[method:InterleavedBuffer copyAt]( index1, attribute, index2 ) </h3>
  71. <div>
  72. </div>
  73. <h3>[method:InterleavedBuffer set]( value, offset ) </h3>
  74. <div>
  75. </div>
  76. <h3>[method:InterleavedBuffer clone]( index, x, y ) </h3>
  77. <div>
  78. </div>
  79. <h2>Source</h2>
  80. [link:https://github.com/mrdoob/three.js/blob/master/src/[path].js src/[path].js]
  81. </body>
  82. </html>