跳到主要内容

GLPrimitiveState

Ploy3D / GLPrimitiveState

Interface: GLPrimitiveState

着色器管线图元描述符。

Table of contents

Properties

Properties

cullMode

cullMode: "none" | "front" | "back"

裁剪模式。


frontFace

frontFace: "ccw" | "cw"

正面环绕顺序。


topology

topology: "point-list" | "line-list" | "line-strip" | "triangle-list" | "triangle-strip"

图元类型。