Added Render function implementation in Texture2D