Gets the D3D11X swizzle from a DXGI format.
void D3D11XGetD3d11xSwizzleFromDxgiFormat(
D3D11X_SWIZZLE Swizzle[4],
DXGI_FORMAT DxgiFormat
)
Swizzle
Type: D3D11X_SWIZZLE
The swizzle, as an array of 4 D3D11X_SWIZZLE enumeration constants.
DxgiFormat
Type: DXGI_FORMAT
A DXGI format, as a DXGI_FORMAT enumeration constant.
Header: Declared in d3d11_x.h.
Library: Use d3d11_x.lib.