Skip to content

RenderEffectDeviceExtensions class

Non-throwing wrappers over IRenderEffectDevice that answer false for a missing device or an unsupported format.

public static class RenderEffectDeviceExtensions
name description
static TryCompile(…) Compiles descriptor when device supports its format; otherwise returns false with effect set to null.
static TryExecute(…) Runs effect when device supports its format; otherwise returns false with operation already completed.