@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
27 lines (26 loc) • 833 B
TypeScript
import { EffectProviderResult, PostProcessingEffect } from "../PostProcessingEffect.js";
import { VolumeParameter } from "../VolumeParameter.js";
declare enum NEToneMappingMode {
None = 0,
Neutral = 1,
ACES = 2,
AgX = 3,
KhronosNeutral = 4
}
type NEToneMappingModeNames = keyof typeof NEToneMappingMode;
/**
* @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;
onCreateEffect(): EffectProviderResult | undefined;
onBeforeRender(): void;
}
export {};