MCPcopy Create free account
hub / github.com/microsoft/SandDance / getFunctionString

Function getFunctionString

docs/tests/v2/es6/js/sanddance.js:9103–9108  ·  view source on GitHub ↗
(functionName, functionArgs)

Source from the content-addressed store, hash-verified

9101
9102
9103function getFunctionString(functionName, functionArgs) {
9104 var args = _globals.global.WebGLDebug.glFunctionArgsToString(functionName, functionArgs);
9105
9106 args = "".concat(args.slice(0, 100)).concat(args.length > 100 ? '...' : '');
9107 return "gl.".concat(functionName, "(").concat(args, ")");
9108}
9109
9110function onGLError(err, functionName, args) {
9111 var errorMessage = _globals.global.WebGLDebug.glEnumToString(err);

Callers 1

onValidateGLFuncFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected