Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/remapper/src/deps.ts>three.Material#customProgramCacheKey

A framework for Beat Saber map scripting.
Go to Latest
method three.Material.prototype.customProgramCacheKey
Re-export
import { three } from "https://deno.land/x/remapper@2.1.0/src/deps.ts";
const { Material } = three;

In case onBeforeCompile is used, this callback can be used to identify values of settings used in onBeforeCompile, so three.js can reuse a cached shader or recompile the shader as needed.

Returns

string