登录
首页 » DirextX » 用DreictX进行抓屏是很简单的,DirectX提供了很优雅的实现。 每个DirectX程序都包含一个被我们称作缓冲的内存区域,其中保存了和该程序...

用DreictX进行抓屏是很简单的,DirectX提供了很优雅的实现。 每个DirectX程序都包含一个被我们称作缓冲的内存区域,其中保存了和该程序...

于 2023-04-20 发布 文件大小:30.71 kB
0 217
下载积分: 2 下载次数: 1

代码说明:

用DreictX进行抓屏是很简单的,DirectX提供了很优雅的实现。 每个DirectX程序都包含一个被我们称作缓冲的内存区域,其中保存了和该程序有关的显存内容,这在程序中被称作后台缓冲(Back Buffer),有些程序有不止一个的后台缓冲。还有一个缓冲,在默认情况下每个程序都可以访问-前台缓冲。前台缓冲保存了和桌面相关的显存内容,实质上就是屏幕图像。 我们的程序通过访问前台缓冲就可以捕捉到当前屏幕的内容。由DirectX的底层优化机制做保证,我们的抓屏效率是很高的,至少比GDI方式高。 -DreictX carried out with screenshots is very simple, DirectX provides a very elegant implementation. Each contains a DirectX program was what we call the buffer memory region, which is preserved and the procedures related to memory content, which in the procedure, known as the background buffer (Back Buffer), some programs have more than one of the background buffer . There is also a buffer, by default, each program can access- front buffer. Front buffer to preserve the memory and desktop-related content, in essence, is the screen image. Our procedures by visiting the front buffer can capture the current screen content. From the bottom of DirectX optimized mechanism that we are screenshots of the efficiency is very high, at leas

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • 一个比较好类似于示波器的图形控件,比较简单
    一个比较好类似于示波器的图形控件,比较简单-A better oscilloscope-like graphical controls, relatively simple
    2022-09-29 10:45:03下载
    积分:1
  • 这个压缩包里包含了几个Direct编程中关于纹理贴图的小程序,希望在你刚学习Direct编程时作为参考哈...
    这个压缩包里包含了几个Direct编程中关于纹理贴图的小程序,希望在你刚学习Direct编程时作为参考哈-The compression bag contains some programming Direct texture mapping on a small procedure, you just want to study as a reference when programming Direct Ha
    2022-01-27 15:40:15下载
    积分:1
  • 0441
    放大取色源码程序,结合易语言DirectX2D支持库和扩展功能支持库,调用API函数实现放大取色不失真效果。(Enlarge take color source program, combined with easy language support library and extensions DirectX2D support library , call the API function color distortion amplification takes effect .)
    2016-11-26 11:19:55下载
    积分:1
  • 微软官方关于DirectX 10工作原理的PDF文档,开发DIRECTX10游戏必看哦...
    微软官方关于DirectX 10工作原理的PDF文档,开发DIRECTX10游戏必看哦-Microsoft DirectX 10 on the working principle of the PDF document, the development of the game a must-see DIRECTX10 Oh
    2022-03-23 10:28:04下载
    积分:1
  • REmodel
    一个计算低RE数的两方程湍流模型,对学习UDF的同学帮助较大(A calculation of the number of low-RE turbulence model for the students to learn more helpful UDF)
    2021-01-02 15:38:57下载
    积分:1
  • 534471
    活动物体类源码程序,结合易语言扩展界面支持库和DirectX2D支持库,调用API函数实现活动物体的类操作。(Activity object class source program, combined with easy language support library and DirectX2D extended interface support library , call the API function to achieve a class action moving objects .)
    2016-12-19 08:37:16下载
    积分:1
  • ZUMA游戏,使用D3D开发的好东西呀
    ZUMA游戏,使用D3D开发的好东西呀-Game ZUMA, use D3D development
    2022-03-18 01:23:35下载
    积分:1
  • cdxfilter和cdxgraph的源代码,加入到工程下可以使用。
    cdxfilter和cdxgraph的源代码,加入到工程下可以使用。-cdxfilter and cdxgraph the source code, added to the project can use.
    2022-06-16 07:58:27下载
    积分:1
  • Fluidized-bed-swaying-force
    流化床摇曳力 UDF模型 适用于中级FLUENT学习者(Fluidized bed swaying force—UDF)
    2013-08-19 10:38:15下载
    积分:1
  • Antialiasing
    direct3d通过设置属性达到图形抗锯齿处理(Direct3D graphics by setting the property to reach deal with anti-aliasing)
    2009-02-26 10:09:49下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载