import type { Context } from "../../../context"; import * as BABYLON from "@babylonjs/core"; import * as Inputs from "../../../inputs"; /** * Textures, the images a material spreads over a surface: a tiled texture from a URL with scale and * offset for material slots, and an image texture with transparency kept for decals and * projections. */ export declare class BabylonTexture { private readonly context; constructor(context: Context); /** * Creates texture from URL from a few basic options. If you loaded the asset via the file, create object url and pass it here. * @param inputs required to set up basic texture * @returns Babylon texture that can be used with materials * @group create * @shortname simple texture * @disposableOutput true */ createSimple(inputs: Inputs.BabylonTexture.TextureSimpleDto): BABYLON.Texture; /** * Creates an image texture intended for decals and projections. Wrap modes are clamped so the image is not tiled, * and the alpha channel is respected by default. Feed the result into decal creation or decal map projection. * @param inputs required to set up the image texture * @returns Babylon texture that can be projected onto meshes * @group create * @shortname image texture * @disposableOutput true */ createImage(inputs: Inputs.BabylonTexture.TextureImageDto): BABYLON.Texture; }