예제 #1
0
		//this method gets called, when Reinitialize() was called in evaluate,
		//or a graphics device asks for its data
		protected override Texture CreateTexture(int Slice, Device device)
		{
			if (FProcessor.SliceCount > Slice)
				if (FProcessor.GetProcessor(Slice) != null) // we do have a connected input for this slice
					return FProcessor.GetProcessor(Slice).CreateTexture(device);
			
			return TextureUtils.CreateTexture(device, 1, 1);
				
		}