Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Specifies the volatility of the data referenced by descriptors in a Root Signature 1.1 description, which can enable some driver optimizations.
Syntax
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
} ;
Constants
D3D12_ROOT_DESCRIPTOR_FLAG_NONEValue: 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_VOLATILEValue: 0x2 Data is volatile. Equivalent to Root Signature Version 1.0. |
D3D12_ROOT_DESCRIPTOR_FLAG_DATA_STATIC_WHILE_SET_AT_EXECUTEValue: 0x4 Data is static while set at execute. |
D3D12_ROOT_DESCRIPTOR_FLAG_DATA_STATICValue: 0x8 Data is static. The best potential for driver optimization. |
Remarks
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.
Requirements
| Requirement | Value |
|---|---|
| Header | d3d12.h |