Funzione D3D12IsLayoutOpaque

Indica se il layout è opaco.

Sintassi

bool inline D3D12IsLayoutOpaque(
   D3D12_TEXTURE_LAYOUT Layout
);

Parametri

Layout

Tipo: D3D12_TEXTURE_LAYOUT

Layout da controllare, come D3D12_TEXTURE_LAYOUT.

Valore restituito

Tipo: bool

Valore bool che indica se il layout è opaco. Un layout è opaco se è D3D12_TEXTURE_LAYOUT_UNKNOWN o D3D12_TEXTURE_LAYOUT_64KB_UNDEFINED_SWIZZLE.

Requisiti

Requisito Valore
Intestazione
D3dx12.h
Libreria
D3D12.lib
DLL
D3D12.dll

Vedi anche

Funzioni helper per D3D12