ICopySamplesOp

Description

interface Tinman.Terrain.Heightmaps.ICopySamplesOp

Derived from

IConfigurable

Extended by

CopySamplesOp abstract

Base interface for custom operations that may be performed on heightmap samples during a copy operation.

Public / Methods

Modify​Copy​Samples


[ThreadSafe]
public method ModifyCopySamples → (2)

region in : CubemapFaceRect

The cubemap face region that corresponds to buffer in, including the padding samples (see Pad).

buffer in : HeightmapRegion

[not-null]
The heightmap region that holds the samples that have been read from the source heightmap. This method may perform in-place modifications. After returning, the (modified) contents of buffer in is written to the target heightmap.

Modifies the given heightmap samples.

Public / Attributes

Pad


public attribute Pad → (get)

value : int32

[>=0]
The padding samples.

The amount of required padding samples.