File tree Expand file tree Collapse file tree 5 files changed +15
-15
lines changed
types/three/examples/jsm/renderers Expand file tree Collapse file tree 5 files changed +15
-15
lines changed Original file line number Diff line number Diff line change 1- import { Texture } from "three/src/Three.js " ;
2- import Binding from "./Binding" ;
1+ import { Texture } from "three" ;
2+ import Binding from "./Binding.js " ;
33
44declare class SampledTexture extends Binding {
55 id : number ;
Original file line number Diff line number Diff line change 1- import TextureNode from "../../nodes/accessors/TextureNode" ;
2- import Binding from "./Binding" ;
1+ import TextureNode from "../../nodes/accessors/TextureNode.js " ;
2+ import Binding from "./Binding.js " ;
33
44declare class Sampler extends Binding {
55 texture : TextureNode | null ;
Original file line number Diff line number Diff line change 1- import { Texture } from "three/src/Three.js " ;
2- import { NodeShaderStage } from "../../../nodes/core/constants" ;
3- import NodeBuilder from "../../../nodes/core/NodeBuilder" ;
4- import NodeVar from "../../../nodes/core/NodeVar " ;
5- import StructTypeNode from "../../../nodes/core/StructTypeNode " ;
6- import { NodeUniform } from "../../../nodes/Nodes " ;
7- import { ShaderNode } from "../../../nodes/shadernode/ShaderNode" ;
8- import NodeUniformsGroup from "../../common/nodes/NodeUniformsGroup" ;
1+ import { Texture } from "three" ;
2+ import { NodeShaderStage } from "../../../nodes/core/constants.js " ;
3+ import NodeBuilder from "../../../nodes/core/NodeBuilder.js " ;
4+ import NodeUniform from "../../../nodes/core/NodeUniform.js " ;
5+ import NodeVar from "../../../nodes/core/NodeVar.js " ;
6+ import StructTypeNode from "../../../nodes/core/StructTypeNode.js " ;
7+ import { ShaderNode } from "../../../nodes/shadernode/ShaderNode.js " ;
8+ import NodeUniformsGroup from "../../common/nodes/NodeUniformsGroup.js " ;
99
1010type BuiltinStage = NodeShaderStage | "attribute" | "output" ;
1111interface BuiltinType {
Original file line number Diff line number Diff line change 1- import NodeFunction from "../../../nodes/core/NodeFunction" ;
1+ import NodeFunction from "../../../nodes/core/NodeFunction.js " ;
22
33export default class WGSLNodeFunction extends NodeFunction {
44 constructor ( source : string ) ;
Original file line number Diff line number Diff line change 1- import NodeParser from "../../../nodes/core/NodeParser" ;
2- import WGSLNodeFunction from "./WGSLNodeFunction" ;
1+ import NodeParser from "../../../nodes/core/NodeParser.js " ;
2+ import WGSLNodeFunction from "./WGSLNodeFunction.js " ;
33
44export default class WGSLNodeParser extends NodeParser {
55 parseFunction ( source : string ) : WGSLNodeFunction ;
You can’t perform that action at this time.
0 commit comments