engineRestoreTxdTextureSampling
Client
Removes the sampling override this resource set on a txd's texture with engineSetTxdTextureSampling.
bool engineRestoreTxdTextureSampling(txd|string txd, string name)
Parameters
| Name | Type | Description |
|---|---|---|
| txd | txd|string | A txd element, a txd's name, or the same glob pattern the override was set with. |
| name | string | The texture's name or glob pattern, as given when the override was set. |
Returns
true if an override was removed, false if none matched.
Example
engineSetTxdTextureSampling("infernus", "*", nil, "point")
setTimer(function()
engineRestoreTxdTextureSampling("infernus", "*")
end, 10000, 1)