@polygonjs/polygonjs
Version:
node-based WebGL 3D engine https://polygonjs.com
20 lines (19 loc) • 692 B
TypeScript
/**
* Pixelize the render.
*
*
*/
import { TypedPostNode, TypedPostNodeContext } from './_Base';
import { NodeParamsConfig } from '../utils/params/ParamsConfig';
import { EffectPass } from 'postprocessing';
declare class PixelPostParamsConfig extends NodeParamsConfig {
/** @param pixelSize */
pixelSize: import("../utils/params/ParamsConfig").ParamTemplate<import("../../index_all").ParamType.INTEGER>;
}
export declare class PixelPostNode extends TypedPostNode<EffectPass, PixelPostParamsConfig> {
paramsConfig: PixelPostParamsConfig;
static type(): string;
createPass(context: TypedPostNodeContext): EffectPass;
updatePass(pass: EffectPass): void;
}
export {};