CEF offscreen rendering + Dx11

Having problems with building or using CEF's C/C++ APIs? This forum is here to help. Please do not post bug reports or feature requests here.

CEF offscreen rendering + Dx11

Postby Centurius » Sat May 13, 2017 4:15 pm

Hey guys,

I have a problem with the Off-screen Render and need help.

I want to render the CEF buffer into a ImGUI Window.
ImGUI need a ID3D11ShaderResourceView*.
How can I create a ID3D11ShaderResourceView* from the buffer at the onPaint method?
Centurius
Newbie
 
Posts: 1
Joined: Sat May 13, 2017 4:08 pm

Re: CEF offscreen rendering + Dx11

Postby Czarek » Thu May 25, 2017 1:16 pm

Use CreateDDSTextureFromMemory() func.
Maintainer of the CEF Python, PHP Desktop and CEF C API projects. My LinkedIn.
User avatar
Czarek
Virtuoso
 
Posts: 1927
Joined: Sun Nov 06, 2011 2:12 am


Return to Support Forum

Who is online

Users browsing this forum: Google [Bot] and 50 guests