欢迎光临散文网 会员登陆 & 注册

Devices (Direct3D 11 Graphics)

2023-08-28 11:01 作者:ENGINEER_CORE  | 我要投稿

A Direct3D device allocates and destroys objects, renders primitives, and communicates with a graphics driver and the hardware. In Direct3D 11, a device is separated into a device object for creating resources and a device-context object, which performs rendering. This section describes Direct3D 11 device and device-context objects.

Objects created from one device cannot be used directly with other devices. Use a shared resource to share data between multiple devices, with the constraint that a shared object can be used only by the device that created it.

Direct3D设备分配和销毁对象,渲染基元,并与图形驱动程序和硬件通信。在Direct3D 11中,设备被分离为用于创建资源的设备对象和执行渲染的设备上下文对象。本节介绍Direct3D11设备和设备上下文对象。

从一个设备创建的对象不能直接与其他设备一起使用。使用共享资源在多个设备之间共享数据,但有一个约束,即共享对象只能由创建它的设备使用。


Devices (Direct3D 11 Graphics)的评论 (共 条)

分享到微博请遵守国家法律