GPUPrimitiveState

  • topology: GPUPrimitiveTopology= 'triangle-list'

    GPUPrimitiveTopology

    'point-list', 'line-list', 'line-strip', 'triangle-list', 'triangle-strip'
  • stripIndexFormat: GPUIndexFormat

    GPUIndexFormat

    'uint16', 'uint32'
  • frontFace: GPUFrontFace= 'ccw'

    GPUFrontFace

    'ccw', 'cw'
  • cullMode: GPUCullMode= 'none'

    GPUCullMode

    'none', 'front', 'back'
  • unclippedDepth: boolean