You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
560 B
22 lines
560 B
// 本文件由FirstUI授权予内蒙古晟誉网络科技有限责任公司(手机号: 15 1 482 2 810 8,身份证尾号:1R6T39)专用,请尊重知识产权,勿私下传播,违者追究法律责任。
|
|
import {getTransferedObjectUUID} from './classUtils';
|
|
|
|
const name = 'WebGLProgram';
|
|
|
|
function uuid(id) {
|
|
return getTransferedObjectUUID(name, id);
|
|
}
|
|
|
|
export default class WebGLProgram {
|
|
className = name;
|
|
|
|
constructor(id) {
|
|
this.id = id;
|
|
}
|
|
|
|
static uuid = uuid;
|
|
|
|
uuid() {
|
|
return uuid(this.id);
|
|
}
|
|
}
|