【问题标题】:Proper syntax of Direct2D Chroma-Key effectDirect2D 色度键效果的正确语法
【发布时间】:2016-08-20 16:16:07
【问题描述】:

我正在尝试在位图上实现 Croma-Key 效果,我正在关注页面:https://msdn.microsoft.com/en-us/library/windows/desktop/dn890715(v=vs.85).aspx 首先,我注意到在将数组作为参数的实现中语法不正确,当我修复这个问题时,获取处理后图像的正确方法是不正确的,需要一些轮询来解决,最后,我仍然无法找出 m_d2dContext 是什么。我会假设它是 ID2D1HwndRenderTarget 但 intelesense 说没有方法定义:CreateEffect 我想知道是否有人在这方面取得了成功,并且可以展示和解释他们的代码。

【问题讨论】:

标签: direct2d visual-studio-2015 visual-c++-2015


【解决方案1】:

我愿意,因为我已经回复了您 4 天前发布的同一个问题:what's the proper implementation of the Chroma-key Effect in Microsoft visual studio c++?

【讨论】:

    猜你喜欢
    • 2013-04-26
    • 1970-01-01
    • 2015-08-17
    • 2016-06-08
    • 2013-12-16
    • 2012-12-29
    • 2013-08-05
    • 1970-01-01
    • 2017-11-22
    相关资源
    最近更新 更多