/// <summary> /// Initializes a new instance of the <see cref="LoadingRequest"/> class to load a texture from a <see cref="SiliconStudio.Paradox.Graphics.Image"/> instance. /// </summary> /// <param name="image">The image.</param> /// <param name="loadAsSRgb">Indicate if the input file should be loaded as in sRGB file</param> public LoadingRequest(Paradox.Graphics.Image image, bool loadAsSRgb) { PdxImage = image; Mode = LoadingMode.PdxImage; LoadAsSRgb = loadAsSRgb; }
/// <summary> /// Initializes a new instance of the <see cref="LoadingRequest"/> class to load a texture from a <see cref="SiliconStudio.Paradox.Graphics.Image"/> instance. /// </summary> /// <param name="image">The image.</param> public LoadingRequest(Paradox.Graphics.Image image) { PdxImage = image; Mode = LoadingMode.PdxImage; }