Dispose() public method

public Dispose ( ) : void
return void
        public override idRenderModel InstantiateDynamicModel(idRenderEntity renderEntity, View view, idRenderModel cachedModel)
        {
            if (cachedModel != null)
            {
                cachedModel.Dispose();
            }

            idConsole.Error("InstantiateDynamicModel called on static model '{0}'", this.Name);

            return(null);
        }
		public override idRenderModel InstantiateDynamicModel(idRenderEntity renderEntity, View view, idRenderModel cachedModel)
		{
			if(cachedModel != null)
			{
				cachedModel.Dispose();
			}

			idConsole.Error("InstantiateDynamicModel called on static model '{0}'", this.Name);

			return null;
		}