MCPcopy
hub / github.com/regl-project/regl / checkTexture

Function checkTexture

test/framebuffer-mrt.js:102–106  ·  view source on GitHub ↗
(tex, color, remark)

Source from the content-addressed store, hash-verified

100 }
101
102 function checkTexture (tex, color, remark) {
103 renderTexture({ texture: tex })
104 var actual = regl.read({ width: 1, height: 1 })
105 compareArrays(actual, color, remark)
106 }
107
108 function checkCubeFace (tex, color, remark, i) {
109 var axes = [

Callers 1

framebuffer-mrt.jsFile · 0.70

Calls 2

compareArraysFunction · 0.85
readMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…