コード例 #1
0
        public void Update(IPluginIO pin, DX11RenderContext context)
        {
            if (reset || !this.FOutBuffers[0].Contains(context))
            {
                this.DisposeBuffers(context);

                DX11RenderTexture3D rt = new DX11RenderTexture3D(context, width, height, depth, DeviceFormatHelper.GetFormat(this.FInFormat[0].Name));

                this.FOutBuffers[0][context] = rt;
            }

            this.updateddevices.Add(context);
        }
コード例 #2
0
 public void Unlock(DX11RenderTexture3D target)
 {
     this.volumepool.UnLock(target);
 }