Exemplo n.º 1
0
        public BufferedDrawNode(IBufferedDrawable source, DrawNode child, BufferedDrawNodeSharedData sharedData, RenderbufferInternalFormat[] formats = null, bool pixelSnapping = false)
            : base(source)
        {
            this.formats = formats;

            Child      = child;
            SharedData = sharedData;

            filteringMode = pixelSnapping ? All.Nearest : All.Linear;
        }
 public BufferedDrawNode(IBufferedDrawable source, DrawNode child, BufferedDrawNodeSharedData sharedData)
     : base(source)
 {
     Child      = child;
     SharedData = sharedData;
 }