سؤال

I tried to create an D3D application which includes the Chromium Embedded Framework (CEF) for web content. I read through various documentations and wikis (both, official and private) but none of them defined how to apply a CefBrowser into D3D. As far as I recognized I need to define a parent window which holds the CEF. But to which parent class/window should I apply for rendering through D3D ? If I overlooked something please let me know, and if don't I would be very glad about any related information.

هل كانت مفيدة؟

المحلول

You're correct in that CEF expects to be hosted in a Windowed application. Consider creating a windowed app, in which you can create both CEF Browser windows and D3D surfaces in their own windows (you can play with window ordering, styles, and compositing if you want to make it appear like the browser is "embedded" in the D3D app.)

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top