Skip to content

RasterSplitReduceData

Under Construction

This documentation is auto-generated, and is a work in progress. Please see the source code at https://github.com/phetsims/alpenglow/blob/main/js/parallel/raster-clip/RasterSplitReduceData.ts for the most up-to-date information.

Overview

A pair of counts (reducible/complete).

@author Jonathan Olson <jonathan.olson@colorado.edu>

Class RasterSplitReduceData

import { RasterSplitReduceData } from 'scenerystack/alpenglow';

Constructor

new RasterSplitReduceData( numReducible : number, numComplete : number )

Instance Methods

toString() : string

writeEncoding( encoder : ByteEncoder )

Static Methods

readEncoding( arrayBuffer : ArrayBuffer, byteOffset : number ) : RasterSplitReduceData

fromArrayBuffer( arrayBuffer : ArrayBuffer ) : RasterSplitReduceData[]

combine( a : RasterSplitReduceData, b : RasterSplitReduceData ) : RasterSplitReduceData

from( edgeClip : RasterEdgeClip, clippedChunk : RasterClippedChunk, exists : boolean ) : RasterSplitReduceData

Static Properties

ENCODING_BYTE_LENGTH

(readonly)

INDETERMINATE : RasterSplitReduceData

(readonly)

IDENTITY : RasterSplitReduceData

(readonly)

Source Code

See the source for RasterSplitReduceData.ts in the alpenglow repository.