Take a look at the constructors of the RenderTarget2D class. None of them take the arguments that you are trying to pass.
In the first case, you are passing an integer where the constructor expects a boolean. Integers are not implicitely convertible to booleans in C#; use true
and false
instead of 1 and 0.
In the second case, it's not clear which constructor you are trying to call, but none of them take 4 arguments and none of them take an integer as the 4th argument.