D3D12DDI_TEXTURE_LAYOUT_CAPS_0026结构(d3d12umddi.h)
指定纹理布局功能。
语法
typedef struct D3D12DDI_TEXTURE_LAYOUT_CAPS_0026 {
UINT DeviceDependentLayoutCount;
UINT DeviceDependentSwizzleCount;
BOOL Supports64KStandardSwizzle;
BOOL SupportsRowMajorTexture;
BOOL IndexableSwizzlePatterns;
} D3D12DDI_TEXTURE_LAYOUT_CAPS_0026;
成员
DeviceDependentLayoutCount
设备相关布局计数。 这必须是适配器支持的依赖设备的布局数。
DeviceDependentSwizzleCount
设备相关的重排计数。 这必须是适配器支持的依赖于设备的重排模式的数量。
Supports64KStandardSwizzle
纹理布局是否支持 64K 标准重排。
SupportsRowMajorTexture
纹理布局是否支持行主纹理。
IndexableSwizzlePatterns
纹理布局是否可以为子资源选择任何重排模式。
要求
要求 | 价值 |
---|---|
标头 | d3d12umddi.h (包括 D3d12umddi.h) |