Direct3D Device分配和销毁对象,渲染图元并与图形驱动程序和硬件进行通信。 在Direct3D 11中,设备分为用于创建资源的设备对象和执行渲染的设备上下文对象(device-context object)。 本节介绍Direct3D 11设备和设备上下文对象。
从一台设备创建的对象不能直接与其他设备一起使用。 使用共享资源在多个设备之间共享数据,但要限制共享对象只能由创建它的设备使用。
Topic | Description |
---|---|
Introduction to a Device in Direct3D 11 | Direct3D 11对象模型将资源创建和渲染功能分为设备和一个或多个上下文。 这种分离旨在促进多线程。 |
Software Layers | Direct3D 11运行时是分层构造的,从核心的基本功能开始,在外部层中构建可选的功能和开发人员辅助功能。 本节介绍每个层的功能。 |
Limitations Creating WARP and Reference Devices | 在Direct3D 10.1和Direct3D 11.0中创建WARP和参考设备存在一些限制。 本主题讨论这些限制。 |
Direct3D 11 on Downlevel Hardware | 本节讨论如何设计Direct3D 11以支持从DirectX 9到DirectX 11的新硬件和现有硬件。 |
Using Direct3D 11 feature data to supplement Direct3D feature levels | 了解如何检查设备对可选功能的支持,包括在Windows的最新版本中添加的功能。 |
有关How to的主题
Topic | Description |
---|---|
How To: Create a Reference Device | Describes how to create a reference device. |
How To: Create a WARP Device | Describes how to create a WARP device. |
How To: Create a Swap Chain | Describes how to create a swap chain. |
How To: Enumerate Adapters | Describes how to enumerate the physical display adapters. |
How To: Get Adapter Display Modes | Describes how to get the supported display capabilities of an adapter. |
How To: Create a Device and Immediate Context | Describes how to initialize a device. |