public bool HasMaterialAtlasingAttributes(Axiom.Graphics.Material material, out TextureAtlasAttib attrib)
        {
            attrib = null;
            bool isMaterialSpecific = false;

            if (material != null && material.TechniqueCount > 0)
            {
                //TODO
                //var anyAttrib = material.GetTechnique(0).GetUserObjectBindings().GetUserAny(RTAtlasKey);
                //if (anyAttrib == null)
                //   isMaterialSpecific = true;
                if (isMaterialSpecific && attrib != null)
                {
                    attrib = null;
                    //attrib = anyAttrib;
                }
            }

            return(isMaterialSpecific);
        }
		public bool HasMaterialAtlasingAttributes( Axiom.Graphics.Material material, out TextureAtlasAttib attrib )
		{
			attrib = null;
			bool isMaterialSpecific = false;
			if ( material != null && material.TechniqueCount > 0 )
			{
				//TODO
				//var anyAttrib = material.GetTechnique(0).GetUserObjectBindings().GetUserAny(RTAtlasKey);
				//if (anyAttrib == null)
				//   isMaterialSpecific = true;
				if ( isMaterialSpecific && attrib != null )
				{
					attrib = null;
					//attrib = anyAttrib;
				}
			}

			return isMaterialSpecific;
		}
 public void SetDefaultAtlasingAttributes(IndexPositionMode mode, int offset, bool autoAdjustBorders)
 {
     this.defaultAtlasAttrib = new TextureAtlasAttib(mode, offset, autoAdjustBorders);
 }
		public void SetDefaultAtlasingAttributes( IndexPositionMode mode, int offset, bool autoAdjustBorders )
		{
			this.defaultAtlasAttrib = new TextureAtlasAttib( mode, offset, autoAdjustBorders );
		}