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

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

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

  • windows +vc+directx 编写的游戏特效
    windows +vc+directx 编写的游戏特效-windows+ vc+ directx game effects prepared
    2022-12-09 04:40:03下载
    积分:1
  • nvrenzhe
    VB+directx7 编写的游戏 VB+directx7 编写的游戏 (VB+ directx7 game written in VB+ directx7 game written)
    2009-12-24 00:41:49下载
    积分:1
  • DirectX8
    介绍DirectX的书籍 内容非常详细 并附源代码及开发工具(DirectX introduced in great detail the contents of the books with source code and development tools)
    2009-05-06 17:59:49下载
    积分:1
  • a good video conference code, the use of the source code can install delphiX
    一个不错的视频会议代码, 使用源代码可以先安装 delphiX -a good video conference code, the use of the source code can install delphiX
    2022-03-04 18:04:18下载
    积分:1
  • DirectX3D精通图形和动画程序设计
    《精通DirectX3D图形与动画程序设计》――26_第二十六章 纹理动画- DirectX3D proficient in graphics and animation program design - 26th Chapter 26_ texture animation
    2022-01-25 14:46:52下载
    积分:1
  • DirectX3D proficient in graphics and animation program design
    《精通DirectX3D图形与动画程序设计》――18_第十八章 HLSL顶点渲染,经过测试可以运行- DirectX3D proficient in graphics and animation program design - Chapter 18_ eighteenth HLSL vertex shader, after test run
    2022-02-03 15:06:06下载
    积分:1
  • Directx-8.1-Programming-for-CPP
    应用程序向导。此工具提供了一个应用程序向导创建一个DirectX应用程序与DirectX组件的任意组合。这个工具是在安装过程中的软件开发工具包(SDK)安装,并创建一个新的应用程序时,可以在Microsoft Visual Studio® 访问。欲了解更多信息,请参阅应用程序向导。 错误查找工具。使用这个工具,采取十六进制的错误代码,并期待一个基于文本的错误信息。 SDK安装的一部分安装此工具,可以从开始,程序,微软DirectX8.1 SDK,DirectX的公用事业,DirectX错误查询访问。 DirectX图形的新功能(AppWizard. This tool provides an application wizard for creating a DirectX application with any combination of DirectX components. This tool is installed during the software development kit (SDK) install and can be accessed within Microsoft Visual Studio® when creating a new application. For more information see AppWizard. Error Lookup Tool. Use this tool to take the hexadecimal error codes and look up a text-based error message. This tool is installed as part of the SDK install and can be accessed from Start, Programs, Microsoft DirectX 8.1 SDK, DirectX Utilities, DirectX Error Lookup. New Features in DirectX Graphics )
    2012-01-11 20:54:36下载
    积分:1
  • EmptyProject
    direvctX最初框架,供添加具体代码(directX )
    2009-11-20 20:35:55下载
    积分: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
  • DirectX学习范例: 一个完善的读取3DS文件例子
    DirectX学习范例: 一个完善的读取3DS文件例子-DirectX study examples: a perfect example to read 3DS file
    2023-06-27 16:55:05下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载