Condividi tramite


Metodo ID2D1DeviceContext::IsDxgiFormatSupported (d2d1_1.h)

Indica se il formato è supportato dal contesto del dispositivo. I formati supportati sono in genere determinati dall'hardware sottostante.

Sintassi

BOOL IsDxgiFormatSupported(
  DXGI_FORMAT format
);

Parametri

format

Tipo: formato

Formato DXGI da controllare.

Valore restituito

Tipo: BOOL

Restituisce TRUE se il formato è supportato. Restituisce FALSE se il formato non è supportato.

Commenti

È possibile usare i formati supportati nella struttura D2D1_PIXEL_FORMAT per creare bitmap e destinazioni di rendering.

Direct2D non supporta tutti i formati DXGI, anche se potrebbero avere un livello di supporto Direct3D dall'hardware.

Requisiti

Requisito Valore
Client minimo supportato Windows 8 e Aggiornamento della piattaforma per Windows 7 [app desktop | App UWP]
Server minimo supportato Windows Server 2012 e Aggiornamento della piattaforma per Windows Server 2008 R2 [app desktop | App UWP]
Piattaforma di destinazione Windows
Intestazione d2d1_1.h
DLL D2d1.dll

Vedi anche

ID2D1DeviceContext