Example #1
0
 public SpriteRenderer(Renderer renderer, IShader shader)
 {
     this.renderer = renderer;
     this.shader   = shader;
     vertices      = new Vertex[renderer.TempBufferSize];
 }