Class GPUComputer

An encapsuled class for GPUComputationRenderer

Hierarchy (view full)

Constructors

Properties

base: Base
container: Scene
emitter: Emitter<any>
gpu: GPUComputationRenderer

Methods

  • Parameters

    • name: string
    • computeShader: string
    • texture: DataTexture
    • uniforms: {
          [uniform: string]: THREE.IUniform;
      }
      • [uniform: string]: THREE.IUniform

    Returns Variable

  • Parameters

    • variable: Variable
    • dependencies: null | Variable[]

    Returns void