Resize() public method

public Resize ( DeviceContextHolder holder, int width, int height ) : void
holder DeviceContextHolder
width int
height int
return void
        private void PrepareOutlineBuffer() {
            if (_outlineBuffer != null) return;
            _outlineBuffer = TargetResourceTexture.Create(Format.R8G8B8A8_UNorm, SampleDescription);
            _outlineDepthBuffer = TargetResourceDepthTexture.Create();

            if (!InitiallyResized) return;
            _outlineBuffer.Resize(DeviceContextHolder, Width, Height);
            _outlineDepthBuffer.Resize(DeviceContextHolder, Width, Height);
        }