Paradox Game Engine  v1.0.0 beta06
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros Pages
ArrayElementRemovalRequest.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 remove the texture at a specified position from a texture array.
10  /// </summary>
11  class ArrayElementRemovalRequest : IRequest
12  {
13  public override RequestType Type { get { return RequestType.ArrayElementRemoval; } }
14 
15  /// <summary>
16  /// The indice of the texture to be removed.
17  /// </summary>
18  public int Indice { get; private set; }
19 
20 
21  /// <summary>
22  /// Initializes a new instance of the <see cref="ArrayElementRemovalRequest"/> class.
23  /// </summary>
24  /// <param name="indice">The indice of the texture to be removed.</param>
25  public ArrayElementRemovalRequest(int indice)
26  {
27  Indice = indice;
28  }
29  }
30 }
ArrayElementRemovalRequest(int indice)
Initializes a new instance of the ArrayElementRemovalRequest class.
Request to remove the texture at a specified position from a texture array.