public void SetMaterialAtlasingAttributes(Axiom.Graphics.Material material, IndexPositionMode mode, int offset,
                                           bool autoAdjustBorders)
 {
     if ((material != null) && (material.TechniqueCount != 0))
     {
         //TODO
         //var anyAttrib = material.GetTechnique(0).GetUserObjectBinding.GetUserAny(RTAtlasKey);
     }
 }
        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);
        }