4 using System.Collections.Generic;
 
    8 namespace SiliconStudio.TextureConverter.Requests
 
   13     internal class LoadingRequest : IRequest
 
   19         public enum LoadingMode
 
   26         public override RequestType 
Type { 
get { 
return RequestType.Loading; } }
 
   31         public LoadingMode Mode { set; 
get; }
 
   37         public String FilePath { set; 
get; }
 
   43         public TexImage 
Image { set; 
get; }
 
   53         public bool KeepMipMap { 
get; set; }
 
   59         public LoadingRequest(String filePath)
 
   61             this.FilePath = filePath;
 
   62             this.Mode = LoadingMode.FilePath;
 
   71         public LoadingRequest(TexImage image)
 
   74             this.Mode = LoadingMode.TexImage;
 
   83         public LoadingRequest(SiliconStudio.Paradox.Graphics.Image image)
 
   85             this.PdxImage = image;
 
   86             this.Mode = LoadingMode.PdxImage;
 
Provides method to instantiate an image 1D/2D/3D supporting TextureArray and mipmaps on the CPU or to...
 
The type of the serialized type will be passed as a generic arguments of the serializer. Example: serializer of A becomes instantiated as Serializer{A}.