[]
Initializes a new instance of the Effect class.
public static Effect Create(DeviceContext deviceContext, Guid effectId)
Type | Name | Description |
---|---|---|
DeviceContext | deviceContext | The device context. |
Guid | effectId | The class ID of the effect to create. |
Type | Description |
---|---|
Effect |
The created effect does not increment the reference count for the dynamic-link library (DLL) from which the effect was created. If the application deletes an effect while that effect is loaded, the resulting behavior will be unpredictable.
Initializes a new instance of the Effect class.
public static Effect Create(EffectContext effectContext, Guid effectId)
Type | Name | Description |
---|---|---|
EffectContext | effectContext | The effect context. |
Guid | effectId | The class ID of the effect to create. |
Type | Description |
---|---|
Effect |