boda_jsEnv/bodaEnv/env/WebGLActiveInfo.js
xuxiaobo-bobo 842b34b5ca 0218
2024-02-18 15:40:48 +08:00

46 lines
1.5 KiB
JavaScript

// WebGLActiveInfo对象
bodaEnv.memory.globlProtoObj["WebGLActiveInfo"] = function WebGLActiveInfo() {
let arg = arguments[0];
if (arg != 'bobo') {
bodaEnv.toolsFunc.console_copy('WebGLActiveInfo 实例化对象 --->', bodaEnv.toolsFunc.stringify_bo(arguments, function (k, v) {
if (v == window) {
return 'window';
} else {
return v;
}
}));
}
;
};
bodaEnv.toolsFunc.safeProto(bodaEnv.memory.globlProtoObj["WebGLActiveInfo"], "WebGLActiveInfo");
bodaEnv.toolsFunc.defineProperty(bodaEnv.memory.globlProtoObj["WebGLActiveInfo"].prototype, "size", {
configurable: true,
enumerable: true,
get: {
size() {
return bodaEnv.toolsFunc.dispatch(this, bodaEnv.memory.globlProtoObj["WebGLActiveInfo"].prototype, "WebGLActiveInfo", "size_get", arguments);
}
}.size,
set: undefined
});
bodaEnv.toolsFunc.defineProperty(bodaEnv.memory.globlProtoObj["WebGLActiveInfo"].prototype, "type", {
configurable: true,
enumerable: true,
get: {
type() {
return bodaEnv.toolsFunc.dispatch(this, bodaEnv.memory.globlProtoObj["WebGLActiveInfo"].prototype, "WebGLActiveInfo", "type_get", arguments);
}
}.type,
set: undefined
});
bodaEnv.toolsFunc.defineProperty(bodaEnv.memory.globlProtoObj["WebGLActiveInfo"].prototype, "name", {
configurable: true,
enumerable: true,
get: {
name() {
return bodaEnv.toolsFunc.dispatch(this, bodaEnv.memory.globlProtoObj["WebGLActiveInfo"].prototype, "WebGLActiveInfo", "name_get", arguments);
}
}.name,
set: undefined
});