| 72 | } |
| 73 | |
| 74 | bool ovrTextureSwapChainData::IsDepthFormat(ovrTextureFormat format) |
| 75 | { |
| 76 | switch (format) |
| 77 | { |
| 78 | case OVR_FORMAT_D16_UNORM: return true; |
| 79 | case OVR_FORMAT_D24_UNORM_S8_UINT: return true; |
| 80 | case OVR_FORMAT_D32_FLOAT: return true; |
| 81 | case OVR_FORMAT_D32_FLOAT_S8X24_UINT: return true; |
| 82 | default: return false; |
| 83 | } |
| 84 | } |
| 85 | |
| 86 | DXGI_FORMAT ovrTextureSwapChainData::TextureFormatToDXGIFormat(ovrTextureFormat format) |
| 87 | { |
nothing calls this directly
no outgoing calls
no test coverage detected