download
raw
469 Bytes
/**
* Sets `BufferAttribute.updateRange` since r159.
*/
const setUpdateRange = (attribute, updateRange) => {
if ('updateRanges' in attribute) {
// r159
// @ts-ignore
attribute.updateRanges[0] = updateRange;
} else {
attribute.updateRange = updateRange;
}
};
const LinearEncoding = 3000;
const sRGBEncoding = 3001;
/**
* TextureEncoding was deprecated in r152, and removed in r162.
*/
export { LinearEncoding, sRGBEncoding, setUpdateRange };

Xet Storage Details

Size:
469 Bytes
·
Xet hash:
d59b08b89053e5480287431251d6ee07226fc60f54f05e3149374e7f5e26fae5

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.