SampleBufferInt64

Description

abstract class Tinman.Terrain.Buffers.SampleBufferInt64

Derived from

SampleBuffer<int64> abstract

Extended by

ColorBuffer sealed
MaterialBuffer sealed

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

Protected / Constructors

Sample​Buffer​Int64

2 overloads


protected constructor SampleBufferInt641 → (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 SampleBufferInt64.

A new sample buffer array will be allocated.


protected constructor SampleBufferInt642 → (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 : int64 [ ]

[not-null]
The buffer samples.

Creates a new instance of SampleBufferInt64.

This sample buffer will use the given data array.