Skip to content

RenderEffectDeviceExtensions.TryCompile method

Compiles descriptor when device supports its format; otherwise returns false with effect set to null.

public static bool TryCompile(this IRenderEffectDevice? device, ShaderModuleDescriptor descriptor,
out ICompiledRenderEffect? effect)