ClassRendering & Filters@public
FlxShaderFilter
Renderer-neutral custom filter descriptor with typed runtime uniforms.
ts
export declare class FlxShaderFilter<TSchema extends FlxShaderUniformSchema = FlxShaderUniformSchema>Constructors
ts
constructor(options: FlxShaderFilterOptions<TSchema>)Constructs a new instance of the FlxShaderFilter class
| Parameter | Type | Description |
|---|---|---|
options | FlxShaderFilterOptions<TSchema> | - |
Properties
| Property | Modifiers | Type | Description |
|---|---|---|---|
compatibleRenderers | readonly | readonly ('webgl' | 'webgpu')[] | Renderer backends for which source code was supplied. |
kind | readonly | `` | Discriminator used by renderer adapters. |
padding | readonly | number | Extra logical pixels rendered around the filtered object. |
resolution | readonly | number | Filter render-target resolution multiplier. |
uniforms | readonly | FlxShaderUniforms<TSchema> | Runtime values shared logically by all camera projections. |
webGL | readonly | Readonly<FlxShaderWebGLProgram> | Optional GLSL program declaration. |
webGPU | readonly | Readonly<FlxShaderWebGPUProgram> | Optional WGSL program declaration. |