Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • GPURenderPassEncoder

Implements

Index

Constructors

Properties

label: undefined | string

Methods

  • beginOcclusionQuery(queryIndex: number): void
  • Parameters

    • queryIndex: number

    Returns void

  • draw(vertexCount: number, instanceCount?: number, firstVertex?: number, firstInstance?: number): void
  • Parameters

    • vertexCount: number
    • Optional instanceCount: number
    • Optional firstVertex: number
    • Optional firstInstance: number

    Returns void

  • drawIndexed(indexCount: number, instanceCount?: number, firstIndex?: number, baseVertex?: number, firstInstance?: number): void
  • Parameters

    • indexCount: number
    • Optional instanceCount: number
    • Optional firstIndex: number
    • Optional baseVertex: number
    • Optional firstInstance: number

    Returns void

  • drawIndexedIndirect(indirectBuffer: GPUBuffer, indirectOffset: number): void
  • drawIndirect(indirectBuffer: GPUBuffer, indirectOffset: number): void
  • end(): void
  • Returns void

  • endOcclusionQuery(): void
  • Returns void

  • Parameters

    Returns void

  • insertDebugMarker(markerLabel: string): void
  • popDebugGroup(): void
  • pushDebugGroup(groupLabel: string): void
  • setBindGroup(index: number, bindGroup: GPUBindGroup, dynamicOffsets?: number[]): void
  • setBindGroup(index: number, bindGroup: GPUBindGroup, dynamicOffsetData: Uint32Array, dynamicOffsetsDataStart: number, dynamicOffsetsDataLength: number): void
  • Parameters

    Returns void

  • setScissorRect(x: number, y: number, width: number, height: number): void
  • Parameters

    • x: number
    • y: number
    • width: number
    • height: number

    Returns void

  • setStencilReference(reference: number): void
  • Parameters

    • reference: number

    Returns void

  • setVertexBuffer(slot: number, buffer: GPUBuffer, offset?: number, size?: number): void
  • setViewport(x: number, y: number, width: number, height: number, minDepth: number, maxDepth: number): void
  • Parameters

    • x: number
    • y: number
    • width: number
    • height: number
    • minDepth: number
    • maxDepth: number

    Returns void

Legend

  • Constructor
  • Property
  • Method
  • Property
  • Method
  • Inherited constructor
  • Static method

Settings

Theme