[]
Registers, if necessary, and initializes a new instance of a custom Effect class.
public static Effect RegisterAndCreateCustom<T>(Factory1 factory, DeviceContext deviceContext) where T : CustomEffect, new()
| Type | Name | Description |
|---|---|---|
| Factory1 | factory | The factory to register the effect. |
| DeviceContext | deviceContext | The device context. |
| Type | Description |
|---|---|
| Effect |
| Name | Description |
|---|---|
| T |