Class VelocityBufferPlugin

Velocity Buffer Plugin

Adds a pre-render pass to render the normal buffer to a render target that can be used for postprocessing.

Hierarchy

Constructors

  • Parameters

    • bufferType: TextureDataType = UnsignedByteType
    • enabled: boolean = true
    • _attachToTaa: boolean = true

    Returns VelocityBufferPlugin

Properties

_attachToTaa: boolean
bufferType: TextureDataType
material: SSVelocityMaterial = ...
passId: "velocityBuffer" = 'velocityBuffer'
texture?: Texture
unpackExtension: MaterialExtension = ...
OldPluginType: "VelocityBufferPlugin" = 'VelocityBufferPlugin'
PluginType: "VelocityBuffer" = 'VelocityBuffer'

Methods

  • This function is called every frame before composer render, if this pass is being used in the pipeline

    Parameters

    Returns boolean

  • Returns any

  • Parameters

    • recreate: boolean = true

    Returns void

  • Returns void

  • Parameters

    Returns void

  • Parameters

    Returns void

  • Returns void