D3D12IsLayoutOpaque function
Indicates whether the layout is opaque.
Syntax
bool inline D3D12IsLayoutOpaque(
D3D12_TEXTURE_LAYOUT Layout
);
Parameters
-
Layout
-
Type: D3D12_TEXTURE_LAYOUT
The layout to check, as a D3D12_TEXTURE_LAYOUT.
Return value
Type: bool
A bool that indicates whether the layout is opaque. A layout is opaque if it is D3D12_TEXTURE_LAYOUT_UNKNOWN or D3D12_TEXTURE_LAYOUT_64KB_UNDEFINED_SWIZZLE.
Requirements
Requirement | Value |
---|---|
Header |
|
Library |
|
DLL |
|