Esempio n. 1
0
 /// <summary />
 public ShaderLibrary(RenderHost renderHost)
 {
     Shaders.Add(ShaderDefault         = new Default.Shader(renderHost));
     Shaders.Add(ShaderPosition        = new Position.Shader(renderHost));
     Shaders.Add(ShaderPositionColor   = new PositionColor.Shader(renderHost));
     Shaders.Add(ShaderPositionTexture = new PositionTexture.Shader(renderHost));
 }
Esempio n. 2
0
 /// <summary />
 public ShaderLibrary(RenderHost renderHost)
 {
     Shaders.Add(ShaderPosition      = new Position.Shader(renderHost));
     Shaders.Add(ShaderPositionColor = new PositionColor.Shader(renderHost));
 }