This release introduces a breaking change in ID2D1PixelShaderDescriptor<T>
, by adding the EffectFactory
property. This allows the internal D2D pixel shader optimization to stop needing Marshal.GetFunctionPointerForDelegate
, which makes it both more efficient, and also allows it to run in particularly constrained environments, where that API might get blocked for security reasons (as it has to allocate new pages at runtime marked as executable). This version is not 4.0 because the source is source compatible, when using new versions. In practice, consumers shouldn't really notice it, as the interface is pretty much only meant to be generated by the bundled source generator.
What's Changed
- Update .NET SDK, fix build errors by @Sergio0694 in #908
- Update NuGet packages to latest stable by @Sergio0694 in #909
- Add
ID2D1PixelShaderDescriptor<T>.EffectFactory
and remove runtime delegate marshalling by @Sergio0694 in #907 - Improve XML docs for
EffectFactory
by @Sergio0694 in #911
Full Changelog: v3.1.1...v3.2.0