Class: FilterOperation

PhotoEditorSDK.Operations. FilterOperation

An operation that can apply a selected filter

new PhotoEditorSDK.Operations.FilterOperation()

sdk/operations/filter-operation/index.js, line 28

Extends

  • PhotoEditorSDK.Operation

Classes

Filter

Namespaces

FilterPrimitives
Filters

Members

staticPhotoEditorSDK.Operations.FilterOperation.identifierString

A unique string that identifies this operation. Can be used to select operations.

Default Value:
  • filter

Methods

dispose()

sdk/operations/filter-operation/index.js, line 82

Disposes this operation

disposeRenderTextures()

sdk/operations/filter-operation/index.js, line 72

Frees the memory

render(inputTexture){Promise}

sdk/operations/filter-operation/index.js, line 45

Applies this operation

Name Type Description
inputTexture PhotoEditorSDK.Engine.Texture
Returns:
Type Description
Promise

setDirtyForRenderer(dirty, renderer)

sdk/operations/filter-operation/index.js, line 64

Sets the dirtiness for the given renderer

Name Type Description
dirty Boolean
renderer PhotoEditorSDK.Engine.BaseRenderer