The SDL forums have moved to discourse.libsdl.org.
This is just a read-only archive of the previous forums, to keep old links working.


SDL Forum Index
SDL
Simple Directmedia Layer Forums
Transparent Clear on Mobile
rdpeake


Joined: 05 Sep 2016
Posts: 1
Hey,

I am using SDL via Urho3D and UrhoSharp to replace an existing game engine in a cross platform mobile app. This app does not use solely the game engine, but a variety of other views. Depending on layout, the game engine could be in front of, or behind, or in the middle of any of these views. Therefore i need to be able to clear the render buffer to transparent so that any views behind can show through.

Does SDL support this type of display, and how would i go about creating it?

So far, i believe my problem is the SDL frame does not support alpha clear colours, and any transparent clear colour i attempt to use renders opaque.