You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'd like to handle cubemap textures, but reloadTexture function is supposed to be applied only for Texture2D targets. Can we provide to it one more argument with a type TwoDimensionalTextureTarget t, so it will be more generalized?
The text was updated successfully, but these errors were encountered:
I'd rather not break existing users of reloadTexture. Is TexInfo enough for working with cubemaps? If not, perhaps we could replace that concrete argument with a type subject to a class constraint. That way, we could have something like a TexInfoCube type from which we could pull out the right texture target.
I'd like to handle cubemap textures, but
reloadTexture
function is supposed to be applied only for Texture2D targets. Can we provide to it one more argument with a typeTwoDimensionalTextureTarget t
, so it will be more generalized?The text was updated successfully, but these errors were encountered: