Constructs a new texture resource.
A texture.
The value of this resource.
Binds a uniform to this texture resource to keep its value up-to-date.
Please use unbindUniform in case you want to discard the bound uniform to prevent memory leaks.
The uniform.
Frees internal resources.
A texture resource wrapper.