Index
Classes
Packed
Buffer
Interfaces
UInt
Array
Constructor
Functions
buffer
Object literals
CTORS
Functions
Const
buffer
buffer
(
w
:
number
, h
:
number
, fmt
:
PackedFormat
|
PackedFormatSpec
, pixels
?:
UIntArray
)
:
PackedBuffer
Syntax sugar for
PackedBuffer
ctor.
Parameters
w:
number
-
h:
number
-
fmt:
PackedFormat
|
PackedFormatSpec
-
Optional
pixels:
UIntArray
-
Returns
PackedBuffer
Object literals
Const
CTORS
CTORS
:
object
[
Type.
U16]
[
Type.
U16]
:
Uint16ArrayConstructor
= Uint16Array
[
Type.
U32]
[
Type.
U32]
:
Uint32ArrayConstructor
= Uint32Array
[
Type.
U8]
[
Type.
U8]
:
Uint8ArrayConstructor
= Uint8Array
Globals
"api"
"canvas"
"codegen"
"dither"
"float"
"format"
"index"
"packed"
"utils"
Packed
Buffer
UInt
Array
Constructor
buffer
CTORS
Generated using
TypeDoc
Syntax sugar for PackedBuffer ctor.