[][src]Function opencv::core::get_type_from_dxgi_format

pub fn get_type_from_dxgi_format(i_dxgi_format: i32) -> Result<i32>

Get OpenCV type from DirectX type

Parameters

  • iDXGI_FORMAT: - enum DXGI_FORMAT for D3D10/D3D11

Returns

OpenCV type or -1 if there is no equivalent