没有合适的资源?快使用搜索试试~ 我知道了~
资源推荐
资源详情
资源评论
DirectX在 WPF中的应用
李毅
李毅
微软软件开发工程师
Use DirectX in WPF ?
Use
DirectX
in
WPF
?
•
WPF is built on top of DirectX. However it
’
s difficult
WPF
is
built
on
top
of
DirectX.
However
it s
difficult
touseDirectXinWPFbeforeWPF3.0
(onlycouldbedone
byHWNDhosting)
Use DirectX in WPF !
Use
DirectX
in
WPF
!
• InWPF3.0,muchmoreconvenienttouse
DirectXdirectl
y
(
Hardwarerenderin
g
)
.
y (
g
)
– Aneweff ectsystemarrives.(Comparingwith
BitmapEffect
)
BitmapEffect
)
– Built‐insupportonDirectXintrop.
Goodbye
BitmapEffects
Goodbye
BitmapEffects
f
iff
• Be
f
oreWPF3.0,weuseB
i
tmapE
ff
ects toget
somespecialeff ects.Like:
– BevelBitmapEffect
–
BlurBitma
p
Effect
p
– DropShadowBitmapEffect
–
EmbossBitmapEffect
EmbossBitmapEffect
– OuterGlowBitmapEffect
•
However the performance is bad because of
•
However
the
performance
is
bad
because
of
Softwarerendered
Say Hi to
ShaderEffect
Say
Hi
to
ShaderEffect
d l hi h ill
il
• Manage
d
c
l
assesw
hi
c
h
w
ill
consumep
i
xe
l
shaders
• Thegoal
– GPUaccelerated
– HWacceleratethemostpopularbuilt‐ineffects
• BlurandDropShadow
–
Allowauthoring ofcustom,hardware‐accelerated
Effects
C h ill id d
–
C
reateasystemt
h
atw
ill
runonmostv
id
eocar
d
s
• PS2.0
剩余26页未读,继续阅读
资源评论
ttddcy
- 粉丝: 0
- 资源: 1
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功