jaylib icon indicating copy to clipboard operation
jaylib copied to clipboard

Texture vs Texture2D

Open electronstudio opened this issue 4 years ago • 3 comments

Investigate why Texture works but Texture2D doesn't.

electronstudio avatar Jul 02 '21 12:07 electronstudio

Texture is the canonical name. Texture2d is a type alias for it. Confusingly opposite way from Camera and Camera3d.

I don’t know a good way to support aliases in Java… ?

electronstudio avatar Sep 21 '21 09:09 electronstudio

Hello! Does this mean that Texture should be used in place of Texture2D?

DNAmaster10 avatar Feb 19 '23 00:02 DNAmaster10

That's what I've been doing.

electronstudio avatar Feb 20 '23 12:02 electronstudio