RemoveMaterialLayer()

Got an idea for enhancing PureBasic? New command(s) you'd like to see?
User avatar
DK_PETER
Addict
Addict
Posts: 871
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.
“Tell me and I forget. Teach me and I remember. Involve me and I learn.”
— Benjamin Franklin
Current configurations:
Windows 10, Intel 6800K, GeForce Gtx 1060, 32 gb ram.
Windows 10, Amd Ryzen 9 5950X, GeForce 3070, 128 gb ram.