- material.RegisterProperty( "uFixed[0]", Vector2::ZERO );
- material.RegisterProperty( "uFixed[1]", Vector2( stretchX.GetX(), stretchY.GetX()) );
- material.RegisterProperty( "uFixed[2]", Vector2( mImageSize.GetWidth() - stretchWidth, mImageSize.GetHeight() - stretchHeight ) );
- material.RegisterProperty( "uStretchTotal", Vector2( stretchWidth, stretchHeight ) );
+ textureSet.RegisterProperty( "uFixed[0]", Vector2::ZERO );
+ textureSet.RegisterProperty( "uFixed[1]", Vector2( stretchX.GetX(), stretchY.GetX()) );
+ textureSet.RegisterProperty( "uFixed[2]", Vector2( mImageSize.GetWidth() - stretchWidth, mImageSize.GetHeight() - stretchHeight ) );
+ textureSet.RegisterProperty( "uStretchTotal", Vector2( stretchWidth, stretchHeight ) );