You've already forked template-MP-ts
Initial commit
This commit is contained in:
21
uview-plus/libs/util/gcanvas/context-webgl/Renderbuffer.js
Normal file
21
uview-plus/libs/util/gcanvas/context-webgl/Renderbuffer.js
Normal file
@@ -0,0 +1,21 @@
|
||||
import {getTransferedObjectUUID} from './classUtils';
|
||||
|
||||
const name = 'WebGLRenderBuffer';
|
||||
|
||||
function uuid(id) {
|
||||
return getTransferedObjectUUID(name, id);
|
||||
}
|
||||
|
||||
export default class WebGLRenderbuffer {
|
||||
className = name;
|
||||
|
||||
constructor(id) {
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
static uuid = uuid;
|
||||
|
||||
uuid() {
|
||||
return uuid(this.id);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user