@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.
18 lines (17 loc) • 751 B
TypeScript
import type { HardwareTextureWrapper } from "../../Materials/Textures/hardwareTextureWrapper.js";
import type { Nullable } from "../../types.js";
/** @internal */
export declare class WebGLHardwareTexture implements HardwareTextureWrapper {
private _webGLTexture;
private _context;
private _MSAARenderBuffers;
get underlyingResource(): Nullable<WebGLTexture>;
constructor(existingTexture: Nullable<WebGLTexture> | undefined, context: WebGLRenderingContext);
setUsage(): void;
set(hardwareTexture: WebGLTexture): void;
reset(): void;
addMSAARenderBuffer(buffer: WebGLRenderbuffer): void;
releaseMSAARenderBuffers(): void;
getMSAARenderBuffer(index?: number): WebGLRenderbuffer | null;
release(): void;
}