Optional
Readonly
cullDefines which polygon orientation will be culled, if any.
剔除面。
默认 "none"
,不进行剔除。
none
关闭剔除面功能front
剔除正面back
剔除背面Optional
Readonly
frontDefines which polygons are considered front-facing.
正向方向。默认 "ccw",表示三角形逆时针方向为正面。
Optional
Readonly
topologyThe type of primitive to be constructed from the vertex inputs.
point-list
绘制单个点。line-strip
绘制连线line-list
每两个顶点绘制一条线段。triangle-list
每三个顶点绘制一个三角形。triangle-strip
绘制三角形条带。默认 triangle-list
,默认每三个顶点绘制一个三角形。
图形拓扑结构。
以下仅在WebGL生效
Generated using TypeDoc
图元拓扑结构。
GPUPrimitiveState
stripIndexFormat
将由引擎自动设置。