raylib-goplus
raylib-goplus copied to clipboard
[QoL] Material level access to texture function
The Current Issue When wanting to set a filter for a texture inside of a material, the current process looks like:
tile.Materials[0].Maps[r.MapAlbedo].Texture.SetTextureFilter(r.FilterAnisotropic16x)
The Proposal
It would be nice to have the ability to access this function (and perhaps those like it) by simply calling on the Material as you would SetTexture
tile.Materials[0].SetTextureFilter(r.MapAlbedo, r.FilterAnisotropic16x)