Paradox Game Engine
v1.0.0 beta06
Main Page
Related Pages
Packages
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Events
Macros
Pages
ArrayExtractionRequest.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 extract one or every textures from a texture array
10
/// </summary>
11
class
ArrayExtractionRequest
: IRequest
12
{
13
public
override
RequestType Type {
get
{
return
RequestType.ArrayExtraction; } }
14
15
16
/// <summary>
17
/// The indice of the texture to be extracted from the array.
18
/// </summary>
19
public
int
Indice {
get
;
private
set; }
20
21
/// <summary>
22
/// The minimum size of the smallest mipmap.
23
/// </summary>
24
public
int
MinimumMipMapSize {
get
;
private
set; }
25
26
/// <summary>
27
/// The extracted texture.
28
/// </summary>
29
public
TexImage
Texture {
get
; set; }
30
31
/// <summary>
32
/// The extracted texture list.
33
/// </summary>
34
public
List<TexImage> Textures {
get
; set; }
35
36
37
/// <summary>
38
/// Initializes a new instance of the <see cref="ArrayExtractionRequest"/> class. Used to extracted a single texture.
39
/// </summary>
40
/// <param name="indice">The indice.</param>
41
public
ArrayExtractionRequest
(
int
indice,
int
minimimMipmapSize)
42
{
43
MinimumMipMapSize = minimimMipmapSize;
44
Indice = indice;
45
Texture =
new
TexImage
();
46
}
47
48
49
/// <summary>
50
/// Initializes a new instance of the <see cref="ArrayExtractionRequest"/> class. Used to extract every textures.
51
/// </summary>
52
public
ArrayExtractionRequest
(
int
minimimMipmapSize)
53
{
54
MinimumMipMapSize = minimimMipmapSize;
55
Indice = -1;
56
Textures =
new
List<TexImage>();
57
}
58
}
59
}
SiliconStudio.TextureConverter.Requests.ArrayExtractionRequest.ArrayExtractionRequest
ArrayExtractionRequest(int indice, int minimimMipmapSize)
Initializes a new instance of the ArrayExtractionRequest class. Used to extracted a single texture...
Definition:
ArrayExtractionRequest.cs:41
SiliconStudio.Shaders.Parser.System
A system file.
SiliconStudio.TextureConverter.Requests.ArrayExtractionRequest.ArrayExtractionRequest
ArrayExtractionRequest(int minimimMipmapSize)
Initializes a new instance of the ArrayExtractionRequest class. Used to extract every textures...
Definition:
ArrayExtractionRequest.cs:52
SiliconStudio.TextureConverter.Requests.ArrayExtractionRequest
Request to extract one or every textures from a texture array
Definition:
ArrayExtractionRequest.cs:11
SiliconStudio.TextureConverter.TexImage
Temporary format containing texture data and information. Used as buffer between texture libraries...
Definition:
TexImage.cs:13
sources
tools
SiliconStudio.TextureConverter
Backend
Requests
ArrayExtractionRequest.cs
Generated on Sat Dec 20 2014 21:53:26 for Paradox Game Engine by
1.8.7