Exemple #1
0
        public void Update(DX11RenderContext context)
        {
            if (this.dispatcher == null)
            {
                this.dispatcher = new DX11BufferDispatcher();
                this.geometry   = new DX11NullGeometry(context, this.dispatcher);
            }

            if (!this.FOutLayer[0].Contains(context))
            {
                this.FOutLayer[0][context]        = new DX11Layer();
                this.FOutLayer[0][context].Render = this.Render;
            }
        }
        public void Update(IPluginIO pin, DX11RenderContext context)
        {
            if (this.dispatcher == null)
            {
                this.dispatcher = new DX11BufferDispatcher();
                this.geometry = new DX11NullGeometry(context, this.dispatcher);
            }

            if (!this.FOutLayer[0].Contains(context))
            {
                this.FOutLayer[0][context] = new DX11Layer();
                this.FOutLayer[0][context].Render = this.Render;
            }
        }