D3D12DDI_TEXTURE_LAYOUT_CAPS_0001 结构 (d3d12umddi.h)

指定纹理布局功能。

语法

typedef struct D3D12DDI_TEXTURE_LAYOUT_CAPS_0001 {
  UINT DeviceDependentLayoutCount;
  UINT DeviceDependentSwizzleCount;
  BOOL Supports64KStandardSwizzle;
  BOOL SupportsRowMajorTexture;
} D3D12DDI_TEXTURE_LAYOUT_CAPS_0001;

成员

DeviceDependentLayoutCount

与设备相关的布局计数。 这必须是适配器支持的与设备相关的布局数。

DeviceDependentSwizzleCount

与设备相关的重排计数。 这必须是适配器支持的与设备相关的重排模式的数量。

Supports64KStandardSwizzle

纹理布局是否支持 64K 标准重排。

SupportsRowMajorTexture

要求

要求
Header d3d12umddi.h (包括 D3d12umddi.h)