IStreamingSource

Description

interface Tinman.Terrain.Util.IStreamingSource<T in ref>

Extended by

StreamingSourceEncode sealed

Base interface for classes that load data during streaming.

See also

Streaming

Public / Methods

Load


[ThreadSafe]
public method Load → (2)

buffer in : T

[not-null]
The output buffer to use.

frame in : int32

[0..IStreamingSource.Count-1]
The data frame to load.

Loads the given frame in into the given buffer in.

If an error occurs while loading the data frame, implementations should output a log message and fill buffer in with default values.

Public / Attributes

Count


[Constant]
public attribute Count → (get)

value : int32

[>0]
The number of data frames.

Returns the number of data frames.