Migrating render-texture and render-sampler to new API