@pmndrs/uikit
Version:
Build performant 3D user interfaces with Three.js and yoga.
15 lines (14 loc) • 782 B
TypeScript
import { MeshDepthMaterial, MeshDistanceMaterial, WebGLProgramParametersWithUniforms, WebGLRenderer } from 'three';
import type { PanelMaterialInfo } from './create.js';
export declare class PanelDistanceMaterial extends MeshDistanceMaterial {
private info;
constructor(info: PanelMaterialInfo);
onBeforeCompile(parameters: WebGLProgramParametersWithUniforms, renderer: WebGLRenderer): void;
}
export declare class PanelDepthMaterial extends MeshDepthMaterial {
private info;
constructor(info: PanelMaterialInfo);
onBeforeCompile(parameters: WebGLProgramParametersWithUniforms, renderer: WebGLRenderer): void;
}
export declare const instancedPanelDepthMaterial: PanelDepthMaterial;
export declare const instancedPanelDistanceMaterial: PanelDistanceMaterial;