Paradox Game Engine  v1.0.0 beta06
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros Pages
SwizzleMode.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 namespace SiliconStudio.Paradox.Graphics
4 {
5  /// <summary>
6  /// Specify how to swizzle a vector.
7  /// </summary>
8  public enum SwizzleMode
9  {
10  /// <summary>
11  /// Take the vector as is.
12  /// </summary>
13  None = 0,
14 
15  /// <summary>
16  /// Take the only the red component of the vector.
17  /// </summary>
18  RRRR = 1,
19 
20  /// <summary>
21  /// Take the only the x component of the vector.
22  /// </summary>
23  XXXX = RRRR,
24  }
25 }
Take the only the x component of the vector.
Take the only the red component of the vector.
SwizzleMode
Specify how to swizzle a vector.
Definition: SwizzleMode.cs:8