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. |