@needle-tools/engine
Version:
Needle Engine is a web-based runtime for 3D apps. It runs on your machine for development with great integrations into editors like Unity or Blender - and can be deployed onto any device! It is flexible, extensible and networking and XR are built-in.
20 lines (19 loc) • 734 B
TypeScript
import { EffectProviderResult, PostProcessingEffect } from "../PostProcessingEffect.js";
import { VolumeParameter } from "../VolumeParameter.js";
import { NEToneMappingModeNames } from "./Tonemapping.utils.js";
/**
* @category Effects
* @group Components
*/
export declare class ToneMappingEffect extends PostProcessingEffect {
get typeName(): string;
readonly mode: VolumeParameter;
readonly exposure: VolumeParameter;
/** Set the tonemapping mode to e.g. "agx" */
setMode(mode: NEToneMappingModeNames): this;
get isToneMapping(): boolean;
onEffectEnabled(): void;
private _tonemappingEffect;
onCreateEffect(): EffectProviderResult | undefined;
onBeforeRender(): void;
}