Creates a texture from a resource.
The resource object.
The texture object that is represented by the resource, or null if the resource is not a texture.
See Implementation
Creates a texture from a resource.