[]
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()
Public Shared Function RegisterAndCreateCustom(Of T As {CustomEffect, New})(factory As Factory1, deviceContext As DeviceContext) As Effect
| Type | Name | Description |
|---|---|---|
| Factory1 | factory | The factory to register the effect. |
| DeviceContext | deviceContext | The device context. |
| Type | Description |
|---|---|
| Effect |
| Name | Description |
|---|---|
| T |