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
ColorKeyRequest.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
SiliconStudio.Core.Mathematics;
4
5
namespace
SiliconStudio.TextureConverter.Requests
6
{
7
/// <summary>
8
/// Request to premultiply the alpha on the texture
9
/// </summary>
10
class
ColorKeyRequest
: IRequest
11
{
12
public
override
RequestType Type {
get
{
return
RequestType.ColorKey; } }
13
14
/// <summary>
15
/// Gets or sets the color key.
16
/// </summary>
17
/// <value>The color key.</value>
18
public
Color
ColorKey
{
get
;
private
set; }
19
20
/// <summary>
21
/// Initializes a new instance of the <see cref="ColorKeyRequest"/> class.
22
/// </summary>
23
public
ColorKeyRequest
(
Color
colorKey)
24
{
25
this.ColorKey = colorKey;
26
}
27
}
28
}
SiliconStudio.TextureConverter.ColorKey
SiliconStudio.Core.Mathematics.Color
Represents a 32-bit color (4 bytes) in the form of RGBA (in byte order: R, G, B, A).
Definition:
Color.cs:16
SiliconStudio.TextureConverter.Requests.ColorKeyRequest
Request to premultiply the alpha on the texture
Definition:
ColorKeyRequest.cs:10
SiliconStudio.TextureConverter.Requests.ColorKeyRequest.ColorKeyRequest
ColorKeyRequest(Color colorKey)
Initializes a new instance of the ColorKeyRequest class.
Definition:
ColorKeyRequest.cs:23
sources
tools
SiliconStudio.TextureConverter
Backend
Requests
ColorKeyRequest.cs
Generated on Sat Dec 20 2014 21:53:26 for Paradox Game Engine by
1.8.7