RemoveMaterialLayer()

Got an idea for enhancing PureBasic? New command(s) you'd like to see?
User avatar
DK_PETER
Addict
Addict
Posts: 898
Joined: Sat Feb 19, 2011 10:06 am
Location: Denmark
Contact:

RemoveMaterialLayer()

Post by DK_PETER »

RemoveMaterial() removes the last added material layer.

RemoveMaterialLayer(#Material, Optional LayerNumber)
If optional LayerNumber is omitted it should just do as usual and remove the last added layer.
Current configurations:
Ubuntu 20.04/64 bit - Window 10 64 bit
Intel 6800K, GeForce Gtx 1060, 32 gb ram.
Amd Ryzen 9 5950X, GeForce 3070, 128 gb ram.