[page:BufferAttribute] →
BufferAttribute Types
There are nine types of [page:BufferAttribute] available in Verge3D. These correspond to the JavaScript
[link:https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/TypedArray#Syntax Typed Arrays].
v3d.Float64BufferAttribute
v3d.Float32BufferAttribute
v3d.Uint32BufferAttribute
v3d.Int32BufferAttribute
v3d.Uint16BufferAttribute
v3d.Int16BufferAttribute
v3d.Uint8ClampedBufferAttribute
v3d.Uint8BufferAttribute
v3d.Int8BufferAttribute
Constructor
All of the above are called in the same way.
TypedBufferAttribute([page:Array array], [page:Integer itemSize])
array -- this can be a typed or untyped (normal) array. It will be converted to the Type specified.
itemSize -- the number of values of the array that should be associated with a particular vertex.
Properties
See the [page:BufferAttribute] page for inherited properties.
Methods
See the [page:BufferAttribute] page for inherited methods.
[sourceHint]