Esempio n. 1
0
 /// <summary>
 /// Constructs the renderer - Init() it after!
 /// </summary>
 /// <param name="tengine">Texture engine.</param>
 /// <param name="shaderdet">Shader engine.</param>
 public Renderer2D(TextureEngine tengine, ShaderEngine shaderdet)
 {
     Engine  = tengine;
     Shaders = shaderdet;
 }
Esempio n. 2
0
 /// <summary>
 /// Constructs a GLFontEngine. Does not initialize.
 /// </summary>
 /// <param name="teng">The texture system.</param>
 /// <param name="sengine">The shader system.</param>
 public GLFontEngine(TextureEngine teng, ShaderEngine sengine)
 {
     Textures = teng;
     Shaders  = sengine;
 }
Esempio n. 3
0
 /// <summary>
 /// Constructs the renderer.
 /// </summary>
 /// <param name="tengine">The relevant texture engine.</param>
 /// <param name="shaderdet">The relevant shader engine.</param>
 /// <param name="modelsdet">The relevant model engine.</param>
 public Renderer(TextureEngine tengine, ShaderEngine shaderdet, ModelEngine modelsdet)
 {
     TEngine = tengine;
     Shaders = shaderdet;
     Models  = modelsdet;
 }