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.

15 lines (14 loc) 613 B
import type { HardwareTextureWrapper } from "../../Materials/Textures/hardwareTextureWrapper.js"; import type { Nullable } from "../../types.js"; import type { INativeEngine, NativeTexture } from "./nativeInterfaces.js"; /** @internal */ export declare class NativeHardwareTexture implements HardwareTextureWrapper { private readonly _engine; private _nativeTexture; get underlyingResource(): Nullable<NativeTexture>; constructor(existingTexture: NativeTexture, engine: INativeEngine); setUsage(): void; set(hardwareTexture: NativeTexture): void; reset(): void; release(): void; }