Options
All
  • Public
  • Public/Protected
  • All
Menu

Class WgCompFillShader

Simple fill shader that sets all elements of the input buffer to a uniform scalar value.

Hierarchy

Index

Constructors

constructor

Properties

Private Readonly dataBuffer

dataBuffer: WgBuffer<Uint32Array>

Private Optional Readonly outputBuffer

outputBuffer: WgBuffer<Uint32Array>

Private Optional Readonly outputOffset

outputOffset: undefined | number

Private Readonly ownsValueBuffer

ownsValueBuffer: boolean

Private Readonly valueBuffer

valueBuffer: WgBuffer<Uint32Array>

Accessors

bindGroups

  • get bindGroups(): { bindGroup: GPUBindGroup; index: number }[]

dispatchSize

  • get dispatchSize(): [number, number, number]

outputs

  • get outputs(): { byteSize: number; dst: WgBuffer<Uint32Array>; dstOffset: number; src: WgBuffer<Uint32Array>; srcOffset: number }[]

pipeline

  • get pipeline(): GPUComputePipeline

workgroupSize

  • get workgroupSize(): [number, number, number]

Methods

dispose

  • dispose(): void

Generated using TypeDoc