Method Generate
Generate()
Generates an observable sequence that returns a texture buffer loaded from the specified image file.
public override IObservable<Texture> Generate()
Returns
- IObservable<Texture>
A sequence containing a single instance of the Texture class representing the data loaded from the specified image file.
Generate<TSource>(IObservable<TSource>)
Returns a texture buffer loaded from the specified image file whenever an observable sequence emits a notification.
public IObservable<Texture> Generate<TSource>(IObservable<TSource> source)
Parameters
source
IObservable<TSource>The sequence containing the notifications used to start loading a new texture buffer from the specified image file.
Returns
- IObservable<Texture>
The sequence of Texture objects loaded from the specified image file whenever the
source
sequence emits a notification.
Type Parameters
TSource
The type of the elements in the
source
sequence.