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

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

于 2023-04-20 发布 文件大小:30.71 kB
0 164
下载积分: 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 个回复

  • 视频局部区域的马赛克处理。(作者:陆其明)
    视频局部区域的马赛克处理。(作者:陆其明)-video local area mosaic treatment. (Author : Lu Qiming)
    2022-06-15 16:20:20下载
    积分:1
  • 3D games to achieve some of the basic features. For example: camera control, cha...
    实现3D游戏中的一些基本功能.例如:摄像机的控制,人物的行走、跳跃,人物与场景的的碰撞,还有一些打怪的基本数据计算,还有一些特效(HLSL)等。-3D games to achieve some of the basic features. For example: camera control, character walking, jumping, the characters and the scene of the collision, there are some basic data Daguai calculations, there are some special effects (HLSL) and so on.
    2022-03-20 14:31:40下载
    积分:1
  • D3D games iron particle system efficiency. . . School friends do not miss 3D.
    D3D游戏铁效粒子系统。。。学3D的朋友不要错过。-D3D games iron particle system efficiency. . . School friends do not miss 3D.
    2022-08-06 07:59:19下载
    积分:1
  • Directshow Filter 的开发实例,有极强的参考价值。
    Directshow Filter 的开发实例,有极强的参考价值。-Directshow Filter Development example, have a strong reference value.
    2022-07-08 17:44:18下载
    积分:1
  • Bigdata__743574SWITCHMAN_5525245
    今天把这个源码Bigdata__743574SWITCHMAN_5525245分享给各位同学,希望你们喜欢这个源码(Share the source Bigdata__743574SWITCHMAN_5525245 give the classmate of everyone, today I hope you like the source code)
    2017-02-24 21:05:03下载
    积分:1
  • mm_directx_eg
    使用DirectX对硬件进行处理程序(Visual 从++ 6。0)(use DirectX right hardware for treatment (from the Visual++ 6. 0))
    2006-11-10 10:09:26下载
    积分:1
  • Directx
    基础的directx开发,相信对初学者有很大的帮助-Directx-based development, I believe it has great help for beginners
    2022-03-03 23:49:33下载
    积分:1
  • Directx3D-Program
    DirectX 9.0 3D游戏开发编程基础源代码 初始化Direct3D,绘制流水线,光照,纹理映射,融合,网格,粒子系统,着色器(DirectX 9.0 3D Game Development Programming source code Initializing Direct3D, drawing line, light, texture mapping, integration, grid, particle systems, shaders)
    2013-07-16 15:46:14下载
    积分:1
  • 属性:DirectShow示例代码
    Desc: DirectShow sample code - C++ console application demonstrating use of the IMediaDet interface to create a graph that contains a sample grabber filter. It shows how to use the sample grabber and a COM object callback to display information about media samples in a running video file.-Desc : DirectShow sample code-C console application demonstrating use of the interface t IMediaDet o create a graph that contains a sample grabbers f ILTER. It shows how to use the sample and grabbers a COM object callback to display information ab out media samples in a running video file.
    2023-02-23 05:20:03下载
    积分:1
  • 最简单的HDR,用D3D写的,效果不错
    最简单的HDR,用D3D写的,效果不错-The simplest HDR, using D3D written good results
    2022-09-24 09:50:03下载
    积分:1
  • 696516资源总数
  • 106554会员总数
  • 12今日下载