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.
23 lines
608 B
23 lines
608 B
// 本文件由FirstUI授权予内蒙古晟誉网络科技有限责任公司(手机号: 1 5 14 8228 1 08,身份证尾号:1R6T39)专用,请尊重知识产权,勿私下传播,违者追究法律责任。
|
|
import {getTransferedObjectUUID} from './classUtils';
|
|
|
|
const name = 'WebGLUniformLocation';
|
|
|
|
function uuid(id) {
|
|
return getTransferedObjectUUID(name, id);
|
|
}
|
|
|
|
export default class WebGLUniformLocation {
|
|
className = name;
|
|
|
|
constructor(id, type) {
|
|
this.id = id;
|
|
this.type = type;
|
|
}
|
|
|
|
static uuid = uuid;
|
|
|
|
uuid() {
|
|
return uuid(this.id);
|
|
}
|
|
}
|