Class BufferShader

Constructors

  • Parameters

    • width: number
    • height: number
    • Optional opacityColor: Color
    • Optional materialParameters: MaterialParameters
    • Optional renderTargetOptions: RenderTargetOptions
    • Optional uniformsDefs: string
    • Optional hsbExpr: string

    Returns BufferShader

Properties

camera: OrthographicCamera = ...
common: string = ""
enabled: boolean = false
height: number
hsbExpr: string = ""
iChannel: (Texture | BufferShader)[] = ...
materialParameters?: MaterialParameters
opacityColor?: Color
outputBuffer: WebGLRenderTarget<Texture>
plane: Mesh<PlaneGeometry, Material | Material[], Object3DEventMap>
readBuffer: WebGLRenderTarget<Texture>
scene: Scene
uniforms: {
    iChannel0: {
        value: Texture;
    };
    iChannel1: {
        value: Texture;
    };
    iChannel2: {
        value: Texture;
    };
    iChannel3: {
        value: Texture;
    };
} = ...

Type declaration

  • iChannel0: {
        value: Texture;
    }
    • value: Texture
  • iChannel1: {
        value: Texture;
    }
    • value: Texture
  • iChannel2: {
        value: Texture;
    }
    • value: Texture
  • iChannel3: {
        value: Texture;
    }
    • value: Texture
uniformsDefs: string = ""
width: number

Accessors

  • set shader(value): void
  • Parameters

    • value: string

    Returns void

Methods

  • Parameters

    • renderer: WebGLRenderer

    Returns void

  • Returns void