MCPcopy Create free account
hub / github.com/gre/gl-react / render

Method render

packages/gl-react/src/NearestCopy.tsx:26–38  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

24 this._node = node;
25 };
26 render() {
27 const { children: t, ...rest } = this.props;
28 return (
29 <Node
30 {...rest}
31 ref={this._onRef}
32 shader={copyShader}
33 blendFunc={{ src: "one", dst: "one minus src alpha" }}
34 uniformsOptions={{ t: { interpolation: "nearest" } }}
35 uniforms={{ t }}
36 />
37 );
38 }
39}
40
41export default NearestCopy;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected