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

Function getRenderbufferSize

lib/renderbuffer.js:35–37  ·  view source on GitHub ↗
(format, width, height)

Source from the content-addressed store, hash-verified

33FORMAT_SIZES[GL_RGB16F_EXT] = 6
34
35function getRenderbufferSize (format, width, height) {
36 return FORMAT_SIZES[format] * width * height
37}
38
39module.exports = function (gl, extensions, limits, stats, config) {
40 var formatTypes = {

Callers 2

reglRenderbufferFunction · 0.85
resizeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…