TexelBufferBitPattern64

Description

abstract class Tinman.Terrain.Rendering.TexelBufferBitPattern64

Derived from

TexelBufferBitPattern abstract

Abstract base class for TexelBuffers that encode texels in 64-bit words, using one or more channels with up to 8 bits each.

Protected / Constructors

Texel​Buffer​Bit​Pattern64


protected constructor TexelBufferBitPattern64 → (12)

width in : int32

[>0]
The buffer width, in texels.

height in : int32

[>0]
The buffer height, in texels.

format in : TextureFormat

[not-null]
The texture format.

mipmap in : TexelBuffer own

Texel buffer of next mipmap or null.

channel0Bits in : int32

[1..8]
Bit count of first channel (starting from least significant bit).

channel1Bits opt : int32 = 0

[0..8]
Bit count of second channel or 0 if not used.

channel2Bits opt : int32 = 0

[0..8]
Bit count of third channel or 0 if not used.

channel3Bits opt : int32 = 0

[0..8]
Bit count of fourth channel or 0 if not used.

channel4Bits opt : int32 = 0

[0..8]
Bit count of fifth channel or 0 if not used.

channel5Bits opt : int32 = 0

[0..8]
Bit count of sixth channel or 0 if not used.

channel6Bits opt : int32 = 0

[0..8]
Bit count of seventh channel or 0 if not used.

channel7Bits opt : int32 = 0

[0..8]
Bit count of eighth channel or 0 if not used.

Creates a new instance of TexelBufferBitPattern32.