コード例 #1
0
 /// <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;
 }
コード例 #2
0
ファイル: LoadingRequest.cs プロジェクト: RainsSoft/paradox
 /// <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;
 }
コード例 #3
0
ファイル: LoadingRequest.cs プロジェクト: rock6tsai/paradox
 /// <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;
 }