lingo3d
Version:
Lingo3D is a React/Vue 3d game development framework that ships with a complete visual editor
9 lines • 465 B
JavaScript
import { releaseMaterial, requestMaterial } from "../../pools/materialPool";
import createInternalSystem from "../utils/createInternalSystem";
export const refreshTexturedStandardSystem = createInternalSystem("refreshTexturedStandardSystem", {
effect: (target) => {
target.$material = requestMaterial(target.$materialParams);
},
cleanup: (target) => releaseMaterial(target.$material)
});
//# sourceMappingURL=refreshTexturedStandardSystem.js.map