protected override void PreRender() { target = TexturePoolManager.GetPool(VDX11.Device).GetTempRenderTarget( this.width, this.height, DeviceFormatHelper.GetFormat(this.FInFormat[0]), new SampleDescription(1, 0), this.FInDoMipMaps[0], this.FInMipLevel[0]); if (this.FInDepthBuffer[0]) { this.SetTargets(this.FDepthManager.DSV, target.RTV); } else { this.SetTargets(null, target.RTV); } }
void Awake() { _this = this; }