- mMaterial = Material::New( mShader );
- mMaterial.AddTexture(mImage, "sTexture1");
- mMaterial.AddTexture(image, "sTexture2");
+ TextureSet textureSet = TextureSet::New();
+ textureSet.SetTexture( 0u, texture0 );
+ textureSet.SetTexture( 1u, texture1 );