SampleBufferInt32

Description

abstract class Tinman.Terrain.Buffers.SampleBufferInt32

Derived from

SampleBuffer<int32> abstract

Extended by

CoverageBuffer sealed
ElevationBuffer sealed

Abstract base class for ISampleBuffer implementations that store 32-bit integer values as buffer samples.

Protected / Constructors

SampleBufferInt32

2 overloads


protected constructor SampleBufferInt321 → (3)

width in : int32

[>0]
Width of this sample buffer.

height in : int32

[>0]
Height of this sample buffer.

tupleSize in : int32

[1..4]
The tuple size of each buffer sample.

Creates a new instance of SampleBufferInt32.

A new sample buffer array will be allocated.


protected constructor SampleBufferInt322 → (6)

width in : int32

[>0]
Width of this sample buffer.

height in : int32

[>0]
Height of this sample buffer.

offset in : int32

[>=0]
Offset of top-left sample of this sample buffer in buffer array.

stride in : int32

[>0]
The stride of this sample buffer.

tupleSize in : int32

[1..4]
The tuple size of each buffer sample.

samples in : int32 [ ]

[not-null]
The buffer samples.

Creates a new instance of SampleBufferInt32.

This sample buffer will use the given data array.