Events
May 19, 6 PM - May 23, 12 AM
Calling all developers, creators, and AI innovators to join us in Seattle @Microsoft Build May 19-22.
Register todayThis browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Specifies the volatility of the data referenced by descriptors in a Root Signature 1.1 description, which can enable some driver optimizations.
typedef enum D3D12_ROOT_DESCRIPTOR_FLAGS {
D3D12_ROOT_DESCRIPTOR_FLAG_NONE = 0,
D3D12_ROOT_DESCRIPTOR_FLAG_DATA_VOLATILE = 0x2,
D3D12_ROOT_DESCRIPTOR_FLAG_DATA_STATIC_WHILE_SET_AT_EXECUTE = 0x4,
D3D12_ROOT_DESCRIPTOR_FLAG_DATA_STATIC = 0x8
} ;
D3D12_ROOT_DESCRIPTOR_FLAG_NONE Value: 0 Default assumptions are made for data (for SRV/CBV: DATA_STATIC_WHILE_SET_AT_EXECUTE, and for UAV: DATA_VOLATILE). |
D3D12_ROOT_DESCRIPTOR_FLAG_DATA_VOLATILE Value: 0x2 Data is volatile. Equivalent to Root Signature Version 1.0. |
D3D12_ROOT_DESCRIPTOR_FLAG_DATA_STATIC_WHILE_SET_AT_EXECUTE Value: 0x4 Data is static while set at execute. |
D3D12_ROOT_DESCRIPTOR_FLAG_DATA_STATIC Value: 0x8 Data is static. The best potential for driver optimization. |
This enum is used by the D3D12_ROOT_DESCRIPTOR1 structure.
To specify the volatility of both descriptors and data, refer to D3D12_DESCRIPTOR_RANGE_FLAGS.
Requirement | Value |
---|---|
Header | d3d12.h |
Events
May 19, 6 PM - May 23, 12 AM
Calling all developers, creators, and AI innovators to join us in Seattle @Microsoft Build May 19-22.
Register today