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

Class HelloTextureStateful

packages/tests/__tests__/all.js:189–204  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

187 },
188 });
189 class HelloTextureStateful extends React.Component<*, { t: * }> {
190 state = { t: red2x2 };
191 node = React.createRef();
192 flush() {
193 this.node.current.flush();
194 }
195 render() {
196 return (
197 <Node
198 ref={this.node}
199 shader={shaders.helloTexture}
200 uniforms={this.state}
201 />
202 );
203 }
204 }
205 let helloTexture: ?HelloTextureStateful;
206 const inst = create(
207 <Surface

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…