Class ResourceLoader
Provides the abstract base class for operators that load resources into the shader window resource manager.
public abstract class ResourceLoader : ResourceLoader
- Inheritance
-
ResourceLoader
- Derived
- Inherited Members
Methods
Process(IObservable<INativeWindow>)
Bundles a set of resources to be loaded into the shader window resource manager.
public IObservable<ResourceConfigurationCollection> Process(IObservable<INativeWindow> source)
Parameters
source
IObservable<INativeWindow>A sequence of INativeWindow objects into which the resources will be loaded.
Returns
- IObservable<ResourceConfigurationCollection>
A sequence of ResourceConfigurationCollection objects which can be used to load resources into the resource manager.
Process<TEventArgs>(IObservable<EventPattern<INativeWindow, TEventArgs>>)
Bundles a set of resources to be loaded into the shader window resource manager when an observable sequence of window events emits a notification.
public IObservable<ResourceConfigurationCollection> Process<TEventArgs>(IObservable<EventPattern<INativeWindow, TEventArgs>> source)
Parameters
source
IObservable<EventPattern<INativeWindow, TEventArgs>>A sequence of event data generated from a shader window.
Returns
- IObservable<ResourceConfigurationCollection>
A sequence of ResourceConfigurationCollection objects which can be used to load resources into the resource manager.
Type Parameters
TEventArgs
The type of the event data generated by the window event.