ITexelPyramid

Description

interface Tinman.Terrain.Pyramids.ITexelPyramid

Derived from

IPyramid<TexelBuffer>
IDisposableGeneric<ITexelPyramid>

Extended by

TexelPyramid abstract

Base interface for classes that represent a tile pyramid of encoded texel buffers (see TexelBuffer).

See also

IPixelPyramid

Public / Methods

Cache


[OwnerReturn] [OwnerThis]
public method Cache → (2)

cache in : PyramidFileCache

[not-null]
The cache to use.

pyramidId in : int32

[0..1023]
Persistent unique identifier of the pixel pyramid being cached.

returns → ITexelPyramid

The cached map pyramid.

Wraps this texel pyramid in a file cache.

Decode​Pixels


[OwnerReturn] [OwnerThis]
public method DecodePixels → ()

returns → IPixelPyramid

The decoded pixel pyramid.

Returns an decoded version of this texture pyramid.

Public / Attributes

Format


[Constant]
public attribute Format → (get)

value : TextureFormat

[not-null]
The texture format.

The texture format.

Mipmaps


[Constant]
public attribute Mipmaps → (get)

value : int32

[>=1]
The number of mipmap levels.

The number of mipmap levels.