@woosh/meep-engine
Version:
Pure JavaScript game engine. Fully featured and production ready.
54 lines • 1.43 kB
TypeScript
export class MaterialTransformer extends AbstractMaterialTransformer {
/**
*
* @param {LightManager} light_manager
* @param {Vector2} resolution
*/
constructor({ light_manager, resolution }: LightManager);
__light_manager: LightManager;
__resolution: LightManager;
__common_uniforms: {
fp_t_light_tiles: {
type: string;
value: any;
};
fp_t_light_lookup: {
type: string;
value: any;
};
fp_t_light_data: {
type: string;
value: any;
};
fp_t_decal_atlas: {
type: string;
value: any;
};
fp_t_decal_atlas_resolution: {
type: string;
value: Vector2;
};
fp_f_camera_near: {
type: string;
value: number;
};
fp_f_camera_far: {
type: string;
value: number;
};
fp_resolution: {
type: string;
value: LightManager;
};
};
__on_before_compile: (shader: any) => void;
/**
*
* @param {CameraView} c
*/
updateCamera(c: CameraView): void;
transform(source: any): any;
}
import { AbstractMaterialTransformer } from "../../../material/manager/AbstractMaterialTransformer.js";
import { Vector2 } from "three";
//# sourceMappingURL=MaterialTransformer.d.ts.map