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
AtlasCreationRequest.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 an atlas from a texture list.
10
/// </summary>
11
class
AtlasCreationRequest
: IRequest
12
{
13
public
override
RequestType Type {
get
{
return
RequestType.AtlasCreation; } }
14
15
/// <summary>
16
/// The texture list that will populate the atlas.
17
/// </summary>
18
public
List<TexImage> TextureList {
get
;
private
set; }
19
20
21
/// <summary>
22
/// The boolean to decide whether the atlas will be squared.
23
/// </summary>
24
public
bool
ForceSquaredAtlas {
get
;
private
set; }
25
26
/// <summary>
27
/// Initializes a new instance of the <see cref="AtlasCreationRequest"/> class.
28
/// </summary>
29
/// <param name="textureList">The texture list.</param>
30
public
AtlasCreationRequest
(List<TexImage> textureList,
bool
forceSquaredAtlas =
false
)
31
{
32
TextureList = textureList;
33
ForceSquaredAtlas = forceSquaredAtlas;
34
}
35
}
36
}
SiliconStudio.TextureConverter.Requests.AtlasCreationRequest.AtlasCreationRequest
AtlasCreationRequest(List< TexImage > textureList, bool forceSquaredAtlas=false)
Initializes a new instance of the AtlasCreationRequest class.
Definition:
AtlasCreationRequest.cs:30
SiliconStudio.Shaders.Parser.System
A system file.
SiliconStudio.TextureConverter.Requests.AtlasCreationRequest
Request to create an atlas from a texture list.
Definition:
AtlasCreationRequest.cs:11
sources
tools
SiliconStudio.TextureConverter
Backend
Requests
AtlasCreationRequest.cs
Generated on Sat Dec 20 2014 21:53:26 for Paradox Game Engine by
1.8.7