Files
XCEngine/docs/api/d3d12/d3d12-device-check-feature-support.md

472 B
Raw Blame History

D3D12Device::CheckFeatureSupport

检查设备是否支持特定功能特性。

bool CheckFeatureSupport(D3D12_FEATURE feature, void* featureSupportData, uint32_t featureSupportDataSize);

参数:

  • feature - 要检查的功能特性
  • featureSupportData - 存储结果的缓冲区
  • featureSupportDataSize - 缓冲区大小

返回: bool - 支持返回 true否则返回 false

相关文档