typedef struct D3D12_FEATURE_DATA_D3D12_OPTIONS3 {
BOOL CopyQueueTimestampQueriesSupported;
BOOL CastingFullyTypedFormatSupported;
D3D12_HEAP_SIZE_T WriteBufferImmediateMaxLatency;
D3D12_VIEW_INSTANCING_TIER ViewInstancingTier;
BOOL BarycentricsSupported;
D3D12_CONSERVATIVE_RASTERIZATION_TIER ConservativeRasterizationTier;
UINT MaxGPUVirtualAddressBitsPerResource;
BOOL StandardSwizzle64KBSupported;
D3D12_SHADER_MIN_PRECISION_SUPPORT MinPrecisionSupport;
BOOL CrossAdapterRowMajorTextureSupported;
BOOL VPAndRTArrayIndexFromAnyShaderFeedingRasterizerSupportedWithoutGSEmulation;
BOOL ResourceHeapTier2;
BOOL ResourceHeapTier2GpuBased;
BOOL ResourceHeapTier3;
D3D12_PROGRAMMABLE_SAMPLE_POSITIONS_TIER ProgrammableSamplePositionsTier;
BOOL CopyWithOverlapTier;
} D3D12_FEATURE_DATA_D3D12_OPTIONS3;
这个结构体包含了一系列用于描述设备特性的成员。你可以使用这个结构体来查询与 Direct3D 12 相关的一些高级功能,比如支持的 Conservative Rasterization Tier、Programmable Sample Positions Tier 等。
转载请注明出处:http://www.pingtaimeng.com/article/detail/25933/Win32 API/D3d12.h/D3D12_FEATURE_DATA_D3D12_OPTIONS3