Paradox Game Engine  v1.0.0 beta06
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros Pages
UIEffectSeparateAlpha.Extensions.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.Serialization;
4 using SiliconStudio.Paradox.Shaders;
5 
6 namespace SiliconStudio.Paradox.Graphics
7 {
8  internal partial class UIEffectSeparateAlpha
9  {
10  private static EffectBytecode bytecode;
11 
12  public static EffectBytecode Bytecode
13  {
14  get
15  {
16  return bytecode ?? (bytecode = BinarySerialization.Read<EffectBytecode>(binaryBytecode));
17  }
18  }
19  }
20 }
Contains a compiled shader with bytecode for each stage.