Skip to main content
gamedev.net
🔒 Locked

Backgroundcolor

Started by Hauptmann 0 replies 300+ views
Original Post
Hauptmann
Hauptmann
Hi! I am working with DirectX 9 and C#. How do I geht the Backgroundcolor of my Device
There are only 10 types of people in this world!They, who understand binaryand they, who does not!
Dave Hunt
Dave Hunt
There is no actual background color property for the device. You set the background color by filling the screen with the desired color (see the Device.Clear() method).

Store the color in a variable. There''s no point in querying the device for something you can keep track of just as well.

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.