'Declaration Public Shared Function RegisterAndCreateCustom(Of T As {New, CustomEffect})( _ ByVal factory As Factory1, _ ByVal deviceContext As DeviceContext _ ) As Effect
public static Effect RegisterAndCreateCustom<T>( Factory1 factory, DeviceContext deviceContext ) where T: new(), CustomEffect
Parameters
- factory
- The factory to register the effect.
- deviceContext
- The device context.
Type Parameters
- T