How to make MonoGame's background transparent?

159 views Asked by At

I have a UWP App and I use SwapChainPanel to insert MonoGame. in Render():

_game.GraphicsDevice.Clear(Color.Transparent);

But it didn't work.

<Grid Background="White">
    <SwapChainPanel x:Name="swapChainPanel">
    </SwapChainPanel>
</Grid>

Could you help me to figure out it?
Problem picture

0

There are 0 answers