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

Method getGLOutput

packages/gl-react/src/Node.tsx:432–439  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

430 }
431
432 getGLOutput(): WebGLTexture {
433 const { framebuffer } = this;
434 invariant(
435 framebuffer,
436 "Node#getGLOutput: framebuffer is not defined. It cannot be called on a root Node"
437 );
438 return framebuffer!.color;
439 }
440
441 getGLBackbufferOutput(): WebGLTexture {
442 const { backbuffer } = this;

Callers 1

prepareMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected