Method Process
Process<TVertex>(IObservable<TVertex[]>)
Draws the specified mesh geometry using instanced rendering, where each array in an observable sequence stores the per-instance attributes.
public IObservable<TVertex[]> Process<TVertex>(IObservable<TVertex[]> source) where TVertex : struct
Parameters
sourceIObservable<TVertex[]>A sequence of per-instance attribute data used to render each instance.
Returns
- IObservable<TVertex[]>
An observable sequence that is identical to the
sourcesequence but where there is an additional side effect of scheduling an instanced rendering operation where instance attribute data is drawn from each of the arrays in the sequence.
Type Parameters
TVertexThe type of the array elements used to store the per-instance attributes.
Process(IObservable<Mat>)
Draws the specified mesh geometry using instanced rendering, where each of the matrix data in an observable sequence stores the per-instance attributes.
public override IObservable<Mat> Process(IObservable<Mat> source)
Parameters
sourceIObservable<Mat>A sequence of Mat objects representing the per-instance attribute data used to render each instance.
Returns
- IObservable<Mat>
An observable sequence that is identical to the
sourcesequence but where there is an additional side effect of scheduling an instanced rendering operation where instance attribute data is drawn from each of the matrices in the sequence.