b3dRemoveEntityDetailTexture

Removes detail texture layer (frees slot, compacts remaining layers, returns 1=success 0=not found). Takes entityHandle (mesh/terrain entity handle), textureHandle (texture handle identifying which layer to remove). Returns 1 (TRUE) if layer removed successfully, 0 (FALSE) if texture not found or error.

3D Graphics

Parameters & Returns

Parameters

entityHandle Int
textureHandle Int

Returns

Int

Quick Summary

Removes detail texture layer (frees slot, compacts remaining layers, returns 1=success 0=not found). Takes entityHandle (mesh/terrain entity handle), textureHandle (texture handle identifying which layer to remove). Returns 1 (TRUE) if layer removed successfully, 0 (FALSE) if texture not found or error.

Technical Exegesis...

Removes detail texture layer (frees slot, compacts remaining layers, returns 1=success 0=not found). Takes entityHandle (mesh/terrain entity handle), textureHandle (texture handle identifying which layer to remove). Returns 1 (TRUE) if layer removed successfully, 0 (FALSE) if texture not found or error. Finds detail layer containing textureHandle, removes it, shifts higher layers down to compact array (no gaps), clears last slot. Mesh and terrain entities only.

This function removes detail layers.

Example

Example.bam
; No example implemented yet