Enable Direct3D BGRA support?

antox
Posts: 4
Joined: Mon Dec 18, 2017 11:23 pm

Enable Direct3D BGRA support?

Postby antox » Sun Feb 17, 2019 5:29 pm

Having D3D11 device created with the D3D11_CREATE_DEVICE_BGRA_SUPPORT flag would facilitate the use of Direct2D in RenderingPlugins. Can this be enabled in Prepar3D? Maybe in future versions?

_ak
Posts: 2
Joined: Mon May 06, 2019 9:08 pm

Re: Enable Direct3D BGRA support?

Postby _ak » Mon May 06, 2019 9:44 pm

I would second that

At the moment all I get is debug message "D2D DEBUG WARNING - The Direct3D device was not created with D3D11_CREATE_DEVICE_BGRA_SUPPORT, and therefore is not compatible with Direct2D." and no D2D render target

_ak
Posts: 2
Joined: Mon May 06, 2019 9:08 pm

Re: Enable Direct3D BGRA support?

Postby _ak » Tue May 07, 2019 12:34 pm

Worth moving to feature requests forum

mattychays
Posts: 4
Joined: Sat Sep 29, 2018 10:10 pm

Re: Enable Direct3D BGRA support?

Postby mattychays » Sat May 11, 2019 7:16 pm

Third

If BGRA was enabled it would allow us to get a D2D Context from the D3D device which would allow for really efficient 2D gauges, I've found a workaround but its less efficient.


Return to “Software Development Kit (SDK) Questions”

Who is online

Users browsing this forum: No registered users and 2 guests