SampleBufferBase

Description

abstract class Tinman.Terrain.Buffers.SampleBufferBase

Derived from

ISampleBuffer

Extended by

SampleBuffer abstract

Abstract base class for ISampleBuffer implementations.

Protected / Constructors

Sample​Buffer​Base


protected constructor SampleBufferBase → (5)

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.

Creates a new instance of SampleBufferBase.

Protected / Attributes

height


protected readonly attribute height → (int32)

Height of this sample buffer.

offset


protected readonly attribute offset → (int32)

Offset of top-left sample of this sample buffer in buffer array.

pixel​Offset


protected readonly attribute pixelOffset → (Vec2D)

Normalized pixel offset.

stride


protected readonly attribute stride → (int32)

The stride of this sample buffer.

tuple​Size


protected readonly attribute tupleSize → (int32)

The buffer sample tuple size.

width


protected readonly attribute width → (int32)

Width of this sample buffer.