cljs-webgl.typed-arrays documentation

float32

(float32 collection)
Creates a native Float32Array for a given `collection`.

float64

(float64 collection)
Creates a native Float64Array for a given `collection`.

int16

(int16 collection)
Creates a native Int16Array for a given `collection`.

int32

(int32 collection)
Creates a native Int32Array for a given `collection`.

int8

(int8 collection)
Creates a native Int8Array for a given `collection`.

typed-array?

(typed-array? value)
Tests whether a given `value` is a typed array.

unsigned-int16

(unsigned-int16 collection)
Creates a native Uint16Array for a given `collection`.

unsigned-int32

(unsigned-int32 collection)
Creates a native Uint32Array for a given `collection`.

unsigned-int8

(unsigned-int8 collection)
Creates a native Uint8Array for a given `collection`.

unsigned-int8-clamped

(unsigned-int8-clamped collection)
Creates a native Uint8ClampedArray for a given `collection`.