raylib-goplus icon indicating copy to clipboard operation
raylib-goplus copied to clipboard

[QoL] Material level access to texture function

Open Gamerfiend opened this issue 5 years ago • 0 comments

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)

Gamerfiend avatar Jan 03 '20 00:01 Gamerfiend