Method ReserveComputeProgram
ReserveComputeProgram(string)
Returns an observable sequence that retrieves the compute shader with the specified name.
public static IObservable<ComputeProgram> ReserveComputeProgram(string shaderName)
Parameters
shaderName
stringThe name of the shader program to retrieve.
Returns
- IObservable<ComputeProgram>
A sequence containing a single instance of the ComputeProgram class matching the specified shader name; or an exception, if no such shader exists.