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

Function isWebGLObject

docs/tests/v2/es6/js/sanddance.js:34937–34945  ·  view source on GitHub ↗
(obj)

Source from the content-addressed store, hash-verified

34935 };
34936
34937 function isWebGLObject(obj) {
34938 //return false;
34939 return (obj instanceof WebGLBuffer ||
34940 obj instanceof WebGLFramebuffer ||
34941 obj instanceof WebGLProgram ||
34942 obj instanceof WebGLRenderbuffer ||
34943 obj instanceof WebGLShader ||
34944 obj instanceof WebGLTexture);
34945 }
34946
34947 function checkResources(args) {
34948 for (var ii = 0; ii < args.length; ++ii) {

Callers 1

checkResourcesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected