SAMPLER2D

The sampler2d type, used for 2D textures.

This is represented as a UInt in raylib and corresponds to the texture unit index. You can pass the value of Texture2D.id from a Texture2D to this uniform type.