@polygonjs/polygonjs
Version:
node-based WebGL 3D engine https://polygonjs.com
24 lines (23 loc) • 966 B
TypeScript
/**
* Export an SDF texture created by [mat/raymarchingBuilder](/doc/nodes/mat/raymarchingBuilder) to disk
*
*
*/
import { Texture } from 'three';
import { TypedCopNode } from './_Base';
import { NodeParamsConfig } from '../utils/params/ParamsConfig';
declare class SDFExporterCopParamsConfig extends NodeParamsConfig {
/** @param fileName */
fileName: import("../utils/params/ParamsConfig").ParamTemplate<import("../../index_all").ParamType.STRING>;
/** @param download texture */
download: import("../utils/params/ParamsConfig").ParamTemplate<import("../../index_all").ParamType.BUTTON>;
}
export declare class SDFExporterCopNode extends TypedCopNode<SDFExporterCopParamsConfig> {
paramsConfig: SDFExporterCopParamsConfig;
static type(): string;
initializeNode(): void;
cook(inputContents: Texture[]): Promise<void>;
static PARAM_CALLBACK_download(node: SDFExporterCopNode): void;
private _downloadTexture;
}
export {};