Skip to content

RasterClippedChunk

Overview

A clipped part of a RasterChunk, which will get filled with data during reduction.

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

Class RasterClippedChunk

import { RasterClippedChunk } from 'scenerystack/alpenglow';

Constructor

new RasterClippedChunk( renderProgramIndex : number, needsFace : boolean, isConstant : boolean, isReducible : boolean, isComplete : boolean, isFullArea : boolean, area : number, minX : number, minY : number, maxX : number, maxY : number, minXCount : number, minYCount : number, maxXCount : number, maxYCount : number )

Instance Methods

needsCompleteOutputSplit() : boolean

outputSplitCount() : number

getSplitReduceData() : RasterSplitReduceData

isExportingCompleteEdges() : boolean

toString() : string

writeEncoding( encoder : ByteEncoder )

Static Methods

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

fromArrayBuffer( arrayBuffer : ArrayBuffer ) : RasterClippedChunk[]

Static Properties

ENCODING_BYTE_LENGTH

(readonly)

INDETERMINATE : RasterClippedChunk

(readonly)

DISCARDABLE : RasterClippedChunk

(readonly)

Source Code

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