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

Method render

packages/tests/__tests__/all.js:576–589  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

574 class Example extends React.Component<*> {
575 busRef = React.createRef();
576 render() {
577 return (
578 <Surface
579 width={20}
580 height={20}
581 webglContextAttributes={{ preserveDrawingBuffer: true }}
582 >
583 <Bus ref={this.busRef}>
584 <Node shader={shaders.red} />
585 </Bus>
586 <LinearCopy>{() => this.busRef.current}</LinearCopy>
587 </Surface>
588 );
589 }
590 }
591 const inst = create(<Example />);
592 expectToBeCloseToColorArray(

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected