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
WICFlags.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
//
4
// Copyright (c) 2010-2014 SharpDX - Alexandre Mutel
5
//
6
// Permission is hereby granted, free of charge, to any person obtaining a copy
7
// of this software and associated documentation files (the "Software"), to deal
8
// in the Software without restriction, including without limitation the rights
9
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
10
// copies of the Software, and to permit persons to whom the Software is
11
// furnished to do so, subject to the following conditions:
12
//
13
// The above copyright notice and this permission notice shall be included in
14
// all copies or substantial portions of the Software.
15
//
16
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
21
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
22
// THE SOFTWARE.
23
// -----------------------------------------------------------------------------
24
// The following code is a port of DirectXTex http://directxtex.codeplex.com
25
// -----------------------------------------------------------------------------
26
// Microsoft Public License (Ms-PL)
27
//
28
// This license governs use of the accompanying software. If you use the
29
// software, you accept this license. If you do not accept the license, do not
30
// use the software.
31
//
32
// 1. Definitions
33
// The terms "reproduce," "reproduction," "derivative works," and
34
// "distribution" have the same meaning here as under U.S. copyright law.
35
// A "contribution" is the original software, or any additions or changes to
36
// the software.
37
// A "contributor" is any person that distributes its contribution under this
38
// license.
39
// "Licensed patents" are a contributor's patent claims that read directly on
40
// its contribution.
41
//
42
// 2. Grant of Rights
43
// (A) Copyright Grant- Subject to the terms of this license, including the
44
// license conditions and limitations in section 3, each contributor grants
45
// you a non-exclusive, worldwide, royalty-free copyright license to reproduce
46
// its contribution, prepare derivative works of its contribution, and
47
// distribute its contribution or any derivative works that you create.
48
// (B) Patent Grant- Subject to the terms of this license, including the license
49
// conditions and limitations in section 3, each contributor grants you a
50
// non-exclusive, worldwide, royalty-free license under its licensed patents to
51
// make, have made, use, sell, offer for sale, import, and/or otherwise dispose
52
// of its contribution in the software or derivative works of the contribution
53
// in the software.
54
//
55
// 3. Conditions and Limitations
56
// (A) No Trademark License- This license does not grant you rights to use any
57
// contributors' name, logo, or trademarks.
58
// (B) If you bring a patent claim against any contributor over patents that
59
// you claim are infringed by the software, your patent license from such
60
// contributor to the software ends automatically.
61
// (C) If you distribute any portion of the software, you must retain all
62
// copyright, patent, trademark, and attribution notices that are present in the
63
// software.
64
// (D) If you distribute any portion of the software in source code form, you
65
// may do so only under this license by including a complete copy of this
66
// license with your distribution. If you distribute any portion of the software
67
// in compiled or object code form, you may only do so under a license that
68
// complies with this license.
69
// (E) The software is licensed "as-is." You bear the risk of using it. The
70
// contributors give no express warranties, guarantees or conditions. You may
71
// have additional consumer rights under your local laws which this license
72
// cannot change. To the extent permitted under your local laws, the
73
// contributors exclude the implied warranties of merchantability, fitness for a
74
// particular purpose and non-infringement.
75
#if SILICONSTUDIO_PLATFORM_WINDOWS_RUNTIME
76
using
System
;
77
78
namespace
SiliconStudio.
Paradox
.Graphics
79
{
80
[
Flags
]
81
internal
enum
WICFlags
82
{
83
None
= 0x0,
84
85
ForceRgb
= 0x1,
86
// Loads DXGI 1.1 BGR formats as DXGI_FORMAT_R8G8B8A8_UNORM to avoid use of optional WDDM 1.1 formats
87
88
NoX2Bias = 0x2,
89
// Loads DXGI 1.1 X2 10:10:10:2 format as DXGI_FORMAT_R10G10B10A2_UNORM
90
91
No16Bpp
= 0x4,
92
// Loads 565, 5551, and 4444 formats as 8888 to avoid use of optional WDDM 1.2 formats
93
94
FlagsAllowMono = 0x8,
95
// Loads 1-bit monochrome (black & white) as R1_UNORM rather than 8-bit greyscale
96
97
AllFrames = 0x10,
98
// Loads all images in a multi-frame file, converting/resizing to match the first frame as needed, defaults to 0th frame otherwise
99
100
Dither = 0x10000,
101
// Use ordered 4x4 dithering for any required conversions
102
103
DitherDiffusion = 0x20000,
104
// Use error-diffusion dithering for any required conversions
105
106
FilterPoint = 0x100000,
107
FilterLinear = 0x200000,
108
FilterCubic = 0x300000,
109
FilterFant = 0x400000,
// Combination of Linear and Box filter
110
// Filtering mode to use for any required image resizing (only needed when loading arrays of differently sized images; defaults to Fant)
111
};
112
}
113
#endif
SiliconStudio.Paradox.Graphics.No16Bpp
SiliconStudio.Paradox.Graphics.ForceRgb
SiliconStudio.Shaders.Parser.System
A system file.
SiliconStudio.Assets.Diff.None
SiliconStudio.Paradox.AssimpNet.Material.Flags
Flags
Enumeration of the new Assimp's flags.
Definition:
MaterialStack.cs:29
SiliconStudio.Paradox.Graphics.Paradox
Paradox image file.
sources
engine
SiliconStudio.Paradox
Graphics
WICFlags.cs
Generated on Sat Dec 20 2014 21:52:07 for Paradox Game Engine by
1.8.7