Method Process
Process<TSource>(IObservable<TSource>)
Binds the specified texture buffer to the specified texture unit for each notification in an observable sequence.
public IObservable<TSource> Process<TSource>(IObservable<TSource> source)
Parameters
source
IObservable<TSource>The sequence containing the notifications indicating when to bind the texture buffer to the specified texture unit.
Returns
- IObservable<TSource>
An observable sequence that is identical to the source sequence but where there is an additional side effect of binding the texture buffer to the specified texture unit.
Type Parameters
TSource
The type of the elements in the
source
sequence.
Process(IObservable<Texture>)
Binds each texture buffer in an observable sequence to the specified texture unit for each notification in an observable sequence.
public IObservable<Texture> Process(IObservable<Texture> source)
Parameters
source
IObservable<Texture>A sequence of Texture objects to be bound to the specified texture unit.
Returns
- IObservable<Texture>
An observable sequence that is identical to the source sequence but where there is an additional side effect of binding the texture buffer objects in the sequence to the specified texture unit.
Remarks
If the TextureName property is specified, the corresponding
texture buffer will be used instead of the values in the
source
sequence.