Esempio n. 1
0
 public void BeginDraw(IRenderTarget target,
                       TextureSlice?viewport     = null, // TODO
                       Matrix4x4?transformMatrix = null,
                       SamplerState samplerState = SamplerState.LinearClamp)
 {
     this.target    = target.ToSFML();
     this.transform = transformMatrix.HasValue ?
                      transformMatrix.Value.ToSFML() :
                      Transform.Identity;
 }