jingwood / jingwood/d2dlib

D2D effect via ID2D1Effect

Open
#67 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
C#
Stars
261
Forks
48
PR merge metrics
No merged PRs in 30d

Description

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.

- [Direct2D Effects](https://docs.microsoft.com/en-us/windows/win32/direct2d/effects-overview)
- [D2D effect apply](https://docs.microsoft.com/en-us/windows/win32/direct2d/how-to-apply-effects-to-primitives)

`m_d2dContext->CreateEffect(CLSID_D2D1GaussianBlur, &gaussianBlurEffect)`

I hope this is possible.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the Direct2D Effects and D2D effect apply links in the issue, then inspect the rendering entry point containing m_d2dContext->CreateEffect. Determine the public API and integration needed for ID2D1Effect support; done means a shader effect such as Gaussian blur can be created and applied through the library.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
computer-graphics
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.