Options
All
  • Public
  • Public/Protected
  • All
Menu

Class GPUComputationController

Hierarchy

  • GPUComputationController

Index

Constructors

  • Parameters

    • renderer: WebGLRenderer
    • dataSize: Vector2

    Returns GPUComputationController

Properties

camera: Camera
dataSize: Vector2
materials: ShaderMaterial[]
mesh: Mesh<BufferGeometry, Material | Material[]>
renderTargets: WebGLRenderTarget[] = []
renderer: WebGLRenderer
scene: Scene
tempDataLinear: GPUcomputationData
tempDataNear: GPUcomputationData
uniforms: any

Accessors

  • get isSupported(): boolean
  • Returns boolean

Methods

  • Returns GPUcomputationData

  • Parameters

    • initializeTexture: DataTexture

    Returns GPUcomputationData

  • Parameters

    • textureParam: WebGLRenderTargetOptions

    Returns GPUcomputationData

  • Parameters

    • initializeTexture: DataTexture
    • textureParam: WebGLRenderTargetOptions

    Returns GPUcomputationData

  • createInitializeTexture(): DataTexture
  • Returns DataTexture

  • Parameters

    • param: ShaderMaterialParameters

    Returns GPUComputationKernel

  • dispose(): void
  • Returns void

  • resizeData(dataSize: Vector2): void
  • Parameters

    • dataSize: Vector2

    Returns void

Generated using TypeDoc