smourier / DirectN

Direct interop Code for .NET Framework, .NET Core and .NET 5+ : DXGI, WIC, DirectX 9 to 12, Direct2D, Direct Write, Direct Composition, Media Foundation, WASAPI, CodecAPI, GDI, Spatial Audio, DVD, Windows Media Player, UWP DXInterop, WinUI3, etc.
MIT License
311 stars 28 forks source link

IDCompositionFlood Effect is Missing #12

Closed selastingeorge closed 3 years ago

selastingeorge commented 3 years ago

The IDCompositionFloodEffectis missing in DirectN, The Microsoft has also removed this from dcomp.h, will it be possible to add it back, The haven't removed the docs about this Effect (IDCompositionFloodEffect - Microsoft Docs)

I Inspected the dcomp.dll, and the IDCompositionFloodEffectis still there, but there is no direct way to use it. Will it be possible to add it to direct N, or could you suggest any alternate method.

When I searched for GUID I get 949758ca-bc9c-4c51-907d-a12613639331

image

smourier commented 3 years ago

Same story, you cannot use use the "old" Dcomp.dll (IDCompositionDevice1/2/3) for the acrylic brush (effect hierarchies), you must use WinRT's Windows.UI.Composition (for which you don't need DirectN). Both (old COM interface and new WinRT interfaces) are implemented by DComp.dll.

selastingeorge commented 3 years ago

@smourier Thank you for Mentioning, i will look for another way using Windows.UI.Composition