D3D11XGetD3d11xFormatFromDxgiFormat

Gets the D3D11X format from a DXGI format.

Syntax

D3D11X_FORMAT D3D11XGetD3d11xFormatFromDxgiFormat(
         DXGI_FORMAT DxgiFormat
)  

Parameters

DxgiFormat
Type: DXGI_FORMATĀ 

A DXGI format, as a DXGI_FORMAT enumeration constant.

Return value

Type: D3D11X_FORMATĀ 

A D3D11X_FORMAT structure.

Requirements

Header: Declared in d3d11_x.h.

Library: Use d3d11_x.lib.