UNPKG

c-uview-plus

Version:

零云®uview-plus已兼容vue3,全面的组件和便捷的工具会让您信手拈来,如鱼得水

22 lines (16 loc) 392 B
import {getTransferedObjectUUID} from './classUtils'; const name = 'WebGLTexture'; function uuid(id) { return getTransferedObjectUUID(name, id); } export default class WebGLTexture { className = name; constructor(id, type) { this.id = id; this.type = type; } static uuid = uuid; uuid() { return uuid(this.id); } }