I am a game programmer.
Now We want to render an area of rectangle on all small games to show text and pictures. the content is nothing to do with the games.
For the games use different engines. the engines all render by D3D9 or OPENGL. So I cann't use CEGUI or OGRE to render the area of rectangle.
But the CEGUI and OGRE have called Present function which would swap the buffer every frame. So if I use DirectX9 to render area of rectangle, the games will flicker. and the opengl is the same.
Now how can I do ???
Thank you very much
Can I use DirectX9 to render area of a rectangle ?
Moderators: CEGUI MVP, CEGUI Team
- CrazyEddie
- CEGUI Project Lead
- Posts: 6760
- Joined: Wed Jan 12, 2005 12:06
- Location: England
- Contact:
Hi,
I know you've had this answered and you have it working, but I just have to clarify (for future people searching, perhaps) that CEGUI absolutely does not call any "present", "flush" or "swap" functions on the main display buffer(s). Ogre and other engines do do this obviously because they are managing your rendering, but CEGUI - definitely not
CE.
I know you've had this answered and you have it working, but I just have to clarify (for future people searching, perhaps) that CEGUI absolutely does not call any "present", "flush" or "swap" functions on the main display buffer(s). Ogre and other engines do do this obviously because they are managing your rendering, but CEGUI - definitely not
CE.
Useful Links: Forum Guidelines | Documentation | Tutorials | HOWTO | Videos | Donate to CEGUI | CEGUI Twitter
Return to “Modifications / Integrations / Customisations”
Who is online
Users browsing this forum: No registered users and 4 guests