- Material newMaterial = Material::New( mShader );
- newMaterial.AddTexture( newAtlas.GetAtlas(), mTextureUniformName );
- mMaterialList.push_back( newMaterial );
+ TextureSet textureSet = TextureSet::New();
+ textureSet.SetImage( 0u, newAtlas.GetAtlas() );
+ mTextureSetList.push_back( textureSet );