Upravit

Sdílet prostřednictvím


Descriptors

Descriptors are the primary unit of binding for a single resource in D3D12.

In this section

Topic Description
Descriptors Overview
Descriptors are created by API calls and identify resources.
Creating Descriptors
Describes and shows examples for creating index, vertex, and constant buffer views; shader resource, render target, unordered access, stream output and depth-stencil views; and samplers. All methods for creating descriptors are free threaded.
Copying Descriptors
The ID3D12Device::CopyDescriptors and ID3D12Device::CopyDescriptorsSimple methods on the device interface use the CPU to immediately copy descriptors. They can be called free threaded as long as multiple threads on the CPU or GPU do not perform any potentially conflicting writes.

Descriptor Heaps

Descriptor Tables

Resource Binding

Root Signatures