UNPKG

@types/three

Version:
25 lines (24 loc) 836 B
import { RenderTarget, RenderTargetOptions } from "../../core/RenderTarget.js"; /** * A special type of render target that is used when rendering * with the WebXR Device API. * * @private * @augments RenderTarget */ declare class XRRenderTarget extends RenderTarget { readonly isXRRenderTarget: true; _hasExternalTextures: boolean; _autoAllocateDepthBuffer: boolean; _isOpaqueFramebuffer: boolean; /** * Constructs a new XR render target. * * @param {number} [width=1] - The width of the render target. * @param {number} [height=1] - The height of the render target. * @param {Object} [options={}] - The configuration options. */ constructor(width?: number, height?: number, options?: RenderTargetOptions); copy(source: XRRenderTarget): this; } export { XRRenderTarget };