Esempio n. 1
0
        public Texture2D this[DeferredLightMapType type]
        {
            get {
                switch (type)
                {
                case DeferredLightMapType.LIGHTMAP:
                    return(lightRT);

                default:
                    ActiveLogger.LogMessage("DeferredLightMapTypetype not present", LogLevel.FatalError);
                    throw new Exception("Type not present in this implementation");
                }
            }
        }
Esempio n. 2
0
        public Texture2D this[DeferredLightMapType type]
        {
            get
            {
                switch (type)
                {
                case DeferredLightMapType.LIGHTMAP:
                    return(content);

                default:
                    throw new Exception("Type not present in this implementation");
                }
            }
        }
        public Texture2D this[DeferredLightMapType type]
        {
            get
            {
                switch (type)
                {
                    case DeferredLightMapType.LIGHTMAP:
                        return content;
                    default:
                        throw new Exception("Type not present in this implementation");
                }

            }
        }
 public Texture2D this[DeferredLightMapType type]
 {
     get {
         switch (type)
         {
             case DeferredLightMapType.LIGHTMAP:
                 return lightRT;
             default:
                 ActiveLogger.LogMessage("DeferredLightMapTypetype not present", LogLevel.FatalError);
                 throw new Exception("Type not present in this implementation");
         }
         
     
     }            
 }