Skip to content

TextureName

Narta Xaymar Dirks edited this page Oct 28, 2026 · 8 revisions
Blitz3D

TextureName

TextureName:String texture:Int32
Parameter Mode Type Default Description
texture In Int32 required The texture.

Returns: The full path of the file, without any . or .. parts.

Description

Tells you which file the texture was loaded from, which is handy after loading a mesh that brings its own textures. Textures made with CreateTexture have no file and give an empty string.

Differences

  • The original turns the path into lower case. The case is kept here, since file names matter on Linux.

Related Commands

TextureBlend, TextureBuffer, TextureCoords, TextureFilter, TextureFrameDelay, TextureFrames, TextureHeight, TextureReady 〔BlitzLLVM〕

Home · Command Index



Differences
Language Features
BlitzBasic
Blitz3D
BlitzPlus

Clone this wiki locally