Options
All
  • Public
  • Public/Protected
  • All
Menu

Enumeration BufferDataType

Enum specifying the type of data provided to the buffer.

Index

Enumeration Members

byte: 5120

8 bit integers. Mostly used with Int8Array. Ranging -128 to 127.

unsignedByte: 5121

8 bit unsigned integers. Mostly used with Uint8Array or Uint8ClampedArray. Ranging 0 to 255.

short: 5122

16 bit integers. Mostly used with Int16Array. Ranging -32768 to 32767.

unsignedShort: 5123

16 bit unsigned integers. Mostly used with Uint16Array. Ranging 0 to 65535

int: 5124

32 bit integers. Mostly used with Int32Array. Ranging -2147483648 to 2147483647.

unsignedInt: 5125

32 bit unsigned integers. Mostly used with Uint32Array. Ranging 0 to 4294967295.

float: 5126

32 bit floats. Mostly used with Float32Array. Ranging 1.175e-38 to 3.4e+38

halfFloat: 5131

16 bit floats. Mostly used with Int16Array. Ranging 6.1e-5 to 6.55e+4

Generated using TypeDoc