@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.
14 lines (13 loc) • 633 B
TypeScript
import type { RenderTargetWrapper } from "../renderTargetWrapper.js";
import type { RenderTargetCreationOptions } from "../../Materials/Textures/textureCreationOptions.js";
declare module "../../Engines/abstractEngine.js" {
interface AbstractEngine {
/**
* Creates a new render target cube wrapper
* @param size defines the size of the texture
* @param options defines the options used to create the texture
* @returns a new render target cube wrapper
*/
createRenderTargetCubeTexture(size: number, options?: RenderTargetCreationOptions): RenderTargetWrapper;
}
}