Skip to content
InterfaceRendering & Filters@public

FlxShaderFilterOptions

Options for link.

ts
export interface FlxShaderFilterOptions<TSchema extends FlxShaderUniformSchema = FlxShaderUniformSchema>

Properties

PropertyModifiersTypeDescription
paddingreadonlynumberExtra logical pixels rendered around the object. Defaults to 0.
resolutionreadonlynumberFilter render-target resolution multiplier. Defaults to 1.
uniformsreadonlyTSchemaTyped uniforms exposed to both renderer programs.
webGLreadonlyFlxShaderWebGLProgramWebGL program. Omit only when the effect intentionally targets WebGPU.
webGPUreadonlyFlxShaderWebGPUProgramWebGPU program. Omit only when the effect intentionally targets WebGL.

Released under the MIT License.