[]
        
(Showing Draft Content)

C1.Util.DX.Direct2D.Effect.RegisterAndCreateCustom

RegisterAndCreateCustom Method

RegisterAndCreateCustom<T>(Factory1, DeviceContext)

Registers, if necessary, and initializes a new instance of a custom Effect class.

Declaration
public static Effect RegisterAndCreateCustom<T>(Factory1 factory, DeviceContext deviceContext) where T : CustomEffect, new()
Parameters
Type Name Description
Factory1 factory

The factory to register the effect.

DeviceContext deviceContext

The device context.

Returns
Type Description
Effect
Type Parameters
Name Description
T