It depends on the VM, but some of them have working graphics hardware acceleration. Virtualbox should be relatively easy to set up with modern Windows guests, but isn’t free for commercial use. qemu/kvm is free for all uses, but may require some tinkering to get everything to work. qemu also supports video passthrough—using the VM to drive a second video card installed in your machine—which some gamer types prefer.
It depends on the VM, but some of them have working graphics hardware acceleration. Virtualbox should be relatively easy to set up with modern Windows guests, but isn’t free for commercial use. qemu/kvm is free for all uses, but may require some tinkering to get everything to work. qemu also supports video passthrough—using the VM to drive a second video card installed in your machine—which some gamer types prefer.