download
raw
493 Bytes
import { WebGLRenderTarget } from './WebGLRenderTarget.js';
import { Data3DTexture } from '../textures/Data3DTexture.js';
class WebGL3DRenderTarget extends WebGLRenderTarget {
constructor( width = 1, height = 1, depth = 1, options = {} ) {
super( width, height, options );
this.isWebGL3DRenderTarget = true;
this.depth = depth;
this.texture = new Data3DTexture( null, width, height, depth );
this.texture.isRenderTargetTexture = true;
}
}
export { WebGL3DRenderTarget };

Xet Storage Details

Size:
493 Bytes
·
Xet hash:
268cf8d007fe2d5f4444019dff83c23bb6206deb4cfe6352fc6f1eb438eee9f8

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