new Tiny.Buffer(size)
Name | Type | Description |
---|---|---|
size |
number |
The size of the buffer in bytes. |
Members
-
float32ViewFloat32Array
-
View on the vertices as a Float32Array for positions
-
uint32ViewFloat32Array
-
View on the vertices as a Uint32Array for uvs
Methods
-
destroy()
-
Destroys the buffer.