UNPKG

@babylonjs/core

Version:

Getting started? Play directly with the Babylon.js API using our [playground](https://playground.babylonjs.com/). It also contains a lot of samples to learn how to use it.

13 lines (12 loc) 800 B
import { type RenderTargetTexture } from "../Materials/Textures/renderTargetTexture.pure.js"; import { type Nullable } from "../types.js"; import { WebXRLayerRenderTargetTextureProvider } from "./webXRRenderTargetTextureProvider.js"; /** * Provides render target textures for WebGL-backed XR layers. Owns all WebGL-specific * framebuffer/texture wiring so the base provider can stay graphics-API-agnostic. * @internal */ export declare abstract class WebXRWebGLRenderTargetTextureProvider extends WebXRLayerRenderTargetTextureProvider { private _createInternalTexture; protected _createRenderTargetTexture(width: number, height: number, framebuffer: Nullable<WebGLFramebuffer>, colorTexture?: WebGLTexture, depthStencilTexture?: WebGLTexture, multiview?: boolean): RenderTargetTexture; }