Paradox Game Engine  v1.0.0 beta06
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros Pages
CubeCreationRequest.cs
Go to the documentation of this file.
1 // Copyright (c) 2014 Silicon Studio Corp. (http://siliconstudio.co.jp)
2 // This file is distributed under GPL v3. See LICENSE.md for details.
3 using System;
4 using System.Collections.Generic;
5 
6 namespace SiliconStudio.TextureConverter.Requests
7 {
8  /// <summary>
9  /// Request to create a texture cube from a texture list.
10  /// </summary>
11  class CubeCreationRequest : IRequest
12  {
13  public override RequestType Type { get { return RequestType.CubeCreation; } }
14 
15  /// <summary>
16  /// The texture list that will populate the cube.
17  /// </summary>
18  public List<TexImage> TextureList { get; private set; }
19 
20 
21  /// <summary>
22  /// Initializes a new instance of the <see cref="CubeCreationRequest"/> class.
23  /// </summary>
24  /// <param name="textureList">The texture list.</param>
25  public CubeCreationRequest(List<TexImage> textureList)
26  {
27  TextureList = textureList;
28  }
29  }
30 }
CubeCreationRequest(List< TexImage > textureList)
Initializes a new instance of the CubeCreationRequest class.
Request to create a texture cube from a texture list.