public RenderTargetBinding(RenderTarget3D renderTarget)
        {
            if (renderTarget == null)
                throw new ArgumentNullException("renderTarget");

            _renderTarget = renderTarget;
            _arraySlice = 0;
        }
        public RenderTargetBinding(RenderTarget3D renderTarget)
        {
            if (renderTarget == null)
            {
                throw new ArgumentNullException("renderTarget");
            }

            _renderTarget = renderTarget;
            _arraySlice   = 0;
        }
        public RenderTargetBinding(RenderTarget3D renderTarget)
        {
            if (renderTarget == null)
            {
                throw new ArgumentNullException("renderTarget");
            }

            _renderTarget = renderTarget;
            _arraySlice   = 0;
            _depthFormat  = renderTarget.DepthStencilFormat;
        }
        public RenderTargetBinding(RenderTarget3D renderTarget, int arraySlice)
        {
            if (renderTarget == null)
            {
                throw new ArgumentNullException("renderTarget");
            }
            if (arraySlice < 0 || arraySlice >= renderTarget.Depth)
            {
                throw new ArgumentOutOfRangeException("arraySlice");
            }

            _renderTarget = renderTarget;
            _arraySlice   = arraySlice;
        }
        public RenderTargetBinding(RenderTarget3D renderTarget, int arraySlice)
        {
            if (renderTarget == null)
                throw new ArgumentNullException("renderTarget");
            if (arraySlice < 0 || arraySlice >= renderTarget.Depth)
                throw new ArgumentOutOfRangeException("arraySlice");

            _renderTarget = renderTarget;
            _arraySlice = arraySlice;
        }