// create a new Typed2DArray instance using an existing data array
static from
convenience function for reading an entire column
fills the block with a single value
get the configured interpolation function for the given component index
get the array index to the first component from the provided column and row indices
invert all rows (top-bottom to bottom-top)
Static
linearStatic
logbuilt-in interpolation methods
Static
nearestget the column and row at the beginning of the item according to stride from an index into the data array
read all the values within the provided block dimension
Optional
targetColumns: numberOptional
targetRows: numberOptional
out: TypedArrayOutputArrayStatic
readconvenience function for reading an entire row
allow you to set a custom interpolation function per component, which are used when interpolating values
set a single value into the provided column and row
swap all values from one row with all values from another row
return a multi-dimensional javascript array of the data (main purpose for debugging)
upscale grid using the current interpolation method
get the calue at the requested column and row, which may be given as fractions, which in case bilinear filtering will be applied to interpolate values (for each component) in between columns and rows
Optional
out: TypedArrayOutputArrayget the value corresponding to the specified index according to stride
Optional
out: TypedArrayOutputArraywrite values into a given block dimension
alias for rows