共用方式為


directXPrimitiveTopology 列舉 (winrtdirectxcommon.h)

Syntax

typedef enum DirectXPrimitiveTopology {
  DirectXPrimitiveTopology_Undefined,
  DirectXPrimitiveTopology_PointList,
  DirectXPrimitiveTopology_LineList,
  DirectXPrimitiveTopology_LineStrip,
  DirectXPrimitiveTopology_TriangleList,
  DirectXPrimitiveTopology_TriangleStrip
} ;

常數

 
DirectXPrimitiveTopology_Undefined
DirectXPrimitiveTopology_PointList
DirectXPrimitiveTopology_LineList
DirectXPrimitiveTopology_LineStrip
DirectXPrimitiveTopology_TriangleList
DirectXPrimitiveTopology_TriangleStrip

規格需求

需求
最低支援的用戶端 Windows 10 版本 1809 (Windows 應用程式 SDK 1.0 或更新版本)
標頭 winrtdirectxcommon.h