DirectX9 内存池
来源:互联网 发布:网络编码器 编辑:程序博客网 时间:2024/04/27 23:56
The memory pool is specified by one of the members of theD3DPOOLenumerated type. The memory pools available are:
D3DPOOL_DEFAULT—The default memory pool instructs Direct3D to place the resource in the memory that is best suited for the resource type and its usage. This may be video memory, AGP memory, or system memory. Note that resources in the default pool must be destroyed (released) prior to anIDirect 3DDevice9::Resetcall, and must be reinitialized after the reset call.
D3DPOOL_MANAGED—Resources placed in the manage pool are managed by Direct3D (that is, they are moved to video or AGP memory as needed by the device automatically). In addition, a back-up copy of the resource is maintained in system memory. When resources are accessed and changed by the application, they work with the system copy. Then, Direct3D automatically updates them to video memory as needed.
D3DPOOL_SYSTEMMEM—Specifies that the resource be placed in system memory
D3DPOOL_SCRATCH—Specifies that the resource be placed in system memory. The difference between this pool andD3DPOOL_ SYSTEMMEMis that these resources must not follow the graphics device’s restrictions. Consequently, the device cannot access resources in this pool. But the resources can be copied to and from each other.
- DirectX9 内存池
- DirectX9 进入缓存内存
- DirectX9 例程
- DirectX9 数学知识
- cegui + directX9
- DirectX9初步
- DirectX9 向量
- DirectX9 矩阵
- DirectX9 平面
- DirectX9 表面
- DirectX9 索引
- DirectX9 投影
- DirectX9带来的麻烦
- 代码的对比directx9
- 深入Managed DirectX9(一)
- DirectX9.0 入门手册
- DirectX9.0 入门手册
- 配置Directx9开发环境
- hdu-5183(set &&hash)
- 巩固java(五)----通过实例理解java多态
- Android RecyclerView 使用完全解析 体验艺术般的控件
- startActivityForResult用法详解
- Monte Carlo 的一些想法
- DirectX9 内存池
- Note (jsp)
- <input type="file" />浏览时只显示指定文件类型
- sublime text 3安装、破解与Python 3 IDE搭建
- 学习笔记一:解决apue.h的问题
- Aptana版本回滚的方法
- Android中水平的ListView-HorizontalListView的使用(附源代码)
- android.view.ViewRoot$CalledFromWrongThreadException 异常的解决
- mysql mysqldump只导出表结构或只导出数据的实现方法