jingwood / d2dlib

A .NET library for hardware-accelerated, high performance, immediate mode rendering via Direct2D.
MIT License
234 stars 40 forks source link

D2D effect via ID2D1Effect #67

Open aizu03 opened 3 years ago

aizu03 commented 3 years ago

It would be nice to use the ID2D1Effect to use the shader effects like Guassian blur. On the Microsoft page it says you can create the effect from the d2d device context.

m_d2dContext->CreateEffect(CLSID_D2D1GaussianBlur, &gaussianBlurEffect)

I hope this is possible.

jingwood commented 3 years ago

Thanks! This issues relates to #60