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

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

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

  • directx多媒体方面的SDK程序,加速开发
    directx多媒体方面的SDK程序,加速开发-directx multimedia SDK procedures, speeding up the development of
    2022-05-26 05:47:41下载
    积分:1
  • demonstrate how to use Direct3D 2DTile exaggerated form of maps.
    演示如何利用Direct3D渲染2DTile方式组织的地图。-demonstrate how to use Direct3D 2DTile exaggerated form of maps.
    2023-07-16 06:15:04下载
    积分:1
  • 一个一分二FILTER 需要的请下载
    一个一分二FILTER 需要的请下载-NO
    2023-05-18 22:30:03下载
    积分:1
  • DirectX图形技术的发展,高
    directx开发图形显示技术,高速显示视频。此源代码是我修改后的可以播放yuv数据的代码-DirectX graphics technology development, high-speed video shows. This source code is modified, I can play the YUV data code
    2022-05-14 01:11:06下载
    积分:1
  • volumemeter(Managed DirectX)
    VolumeMeter (Managed DirectX) This project is a live volume meter control for monitoring audio levels from a sound card. It is written entirely in C#, and uses Microsoft s Managed DirectX (June release). You can drag-and-drop the control into any Windows Forms application. You may select the input, and tweak the appearance of the animation through various parameters. The idea behind this project is to maintain a very short buffer of audio and constantly record into it. The control is on a timer, and periodically queries the buffer to see what volume level the most recent sample has, and then sets a progress bar s value accordingly.
    2022-03-25 07:11:13下载
    积分:1
  • This an DirectShow Application.You can run it in vs2005 or vs 2008
    This an DirectShow Application.You can run it in vs2005 or vs 2008-This is an DirectShow Application.You can run it in vs2005 or vs 2008
    2022-10-09 19:50:03下载
    积分:1
  • 播放摄像头,采用DIRCETSHOW模式。简单易懂。
    播放摄像头,采用DIRCETSHOW模式。简单易懂。-broadcast camera, using DIRCETSHOW model. Simple and understandable.
    2022-03-10 13:33:03下载
    积分:1
  • 老外写的DirectShow,超强无比,有空可以学一下。
    老外写的DirectShow,超强无比,有空可以学一下。-Written by foreigners DirectShow, super great, you can learn the time.
    2022-03-26 17:13:29下载
    积分:1
  • DirectX
    《DirectX+游戏开发终极指南》是本好书,这是该书的exe电子书+网页版+源码,希望对初学者有所帮助……这网站的上传对名字的要求还真是蛋疼……(" DirectX+ game development Ultimate Guide" is a good book, that' s the exe e-book+ Web Edition+ source code, want to help beginners ... ... this site to upload requirements on the name really is egg hurts ... ...)
    2010-06-17 13:14:59下载
    积分:1
  • Win32Cube
    DirectX编写绘制旋转的盒子,便于新手学习如何设置世界矩阵,投影举证(DirectX prepared draw the rotating box, easy for novices to learn how to set the world matrix, projection proof)
    2013-11-16 22:57:55下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载