Beispiel #1
0
        public void SetScissorRectangle(Rectangle rectangle)
        {
            var command = new D3D11Command
            {
                Type             = CommandType.SetScissor,
                ScissorRectangle = rectangle.ToSharpDX()
            };

            _commandList.Add(command);
        }