/** * Get a derived material with instancing upgrades for the given base material. * The result is cached by baseMaterial+instanceUniforms so we always get the same instance * back rather than getting a clone each time and having to re-upgrade every frame. */ export function getInstancingDerivedMaterial(baseMaterial: any, instanceUniforms: any): any; /** * Transform the given vertex and fragment shader pair so they accept instancing * attributes for the builtin matrix uniforms as well as any other uniforms that * have been declared as instanceable. */ export function upgradeShaders(vertexShader: any, fragmentShader: any, instanceUniforms: any): { vertexShader: any; fragmentShader: any; };