D3D12DDI_OPTIONS_DATA_0091结构(d3d12umddi.h)
当用户模式驱动程序使用 D3D12DDICAPS_TYPE_OPTIONS_0091调用 PFND3DDDI_GETCAPS 函数时,指示对 D3D12DDI_OPTIONS_DATA_0091 结构中的功能的支持。
语法
typedef struct D3D12DDI_OPTIONS_0091 {
BOOL UnrestrictedBufferTextureCopyPitchSupported;
BOOL UnrestrictedVertexElementAlignmentSupported;
BOOL InvertedViewportHeightFlipsYSupported;
BOOL InvertedViewportDepthFlipsZSupported;
} D3D12DDI_OPTIONS_DATA_0091;
成员
UnrestrictedBufferTextureCopyPitchSupported
当驱动程序支持不受限制的复制对齐时设置 TRUE。 否则,设置为 FALSE。
UnrestrictedVertexElementAlignmentSupported
当驱动程序支持不受限制的顶点元素对齐(可能未对齐的输入元素布局)时设置 TRUE。 否则,设置为 FALSE。
InvertedViewportHeightFlipsYSupported
当驱动程序支持倒排视区时设置 TRUE。 否则,设置为 FALSE。
InvertedViewportDepthFlipsZSupported
当驱动程序支持倒排视区时设置 TRUE。 否则,设置为 FALSE。
要求
要求 | 价值 |
---|---|
最低支持的客户端 | Windows 11 版本 22H2 |
标头 | d3d12umddi.h |