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

Method getGLBackbufferOutput

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

Source from the content-addressed store, hash-verified

439 }
440
441 getGLBackbufferOutput(): WebGLTexture {
442 const { backbuffer } = this;
443 invariant(
444 backbuffer,
445 "Node#getGLBackbufferOutput: backbuffer is not defined. Make sure `backbuffering` prop is defined"
446 );
447 return backbuffer!.color;
448 }
449
450 /**
451 * Imperatively set the props with a partial subset of props to apply.

Callers 1

prepareMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected