ComponentOne Bitmap for UWP
RegisterAndCreateCustom<T> Method

C1.UWP.DX Assembly > C1.Util.DX.Direct2D Namespace > Effect Class : RegisterAndCreateCustom<T> Method
The factory to register the effect.
The device context.
Registers, if necessary, and initializes a new instance of a custom Effect class.
Syntax
'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
See Also

Reference

Effect Class
Effect Members