import { WrapMode } from '../../../parsers/mdlx/texture' ; import Texture from '../../texture' ; /**
 * An MDX texture.
 */ export default class MdxTexture { texture : Texture | null = null ; replaceableId : number ; wrapS = 0x812f ; wrapT = 0x812f ; constructor ( replaceableId , wrapMode ) { this . replaceableId = replaceableId ; if ( wrapMode & WrapMode . WrapWidth ) { this . wrapS = 0x2901 ; } if ( wrapMode & WrapMode . WrapHeight ) { this . wrapT = 0x2901 ; } } }