Exemplo n.º 1
0
 public static void SetEnableNameDrawInCategory(DbgPrimCategory category, bool enable)
 {
     foreach (var prim in Primitives.Where(p => p.Category == category))
     {
         prim.EnableNameDraw = enable;
     }
 }
Exemplo n.º 2
0
        public static bool GetCategoryEnableNameDraw(DbgPrimCategory category)
        {
            bool result = false;

            lock (DBG._lock_DebugDrawEnablers)
            {
                result = CategoryEnableNameDraw[category];
            }
            return(result);
        }