some updates on texture and setindex(::Texture) && setindex(RenderObject)