Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Direct3DInteropSample is not working propertly #2024

Closed
mudi2k opened this issue Oct 25, 2018 · 1 comment
Closed

Direct3DInteropSample is not working propertly #2024

mudi2k opened this issue Oct 25, 2018 · 1 comment

Comments

@mudi2k
Copy link

mudi2k commented Oct 25, 2018

HI,

Direct3DInteropSample runs a black screen with overlayed Avalonia controls when it's configured as normal rendering:

deferredfalse

and shows the Direct3D image when deferredRendering is set, but hides the Avalonia controls.

deferredtrue

Regards

@eladmaimoni
Copy link

Seems like the Avalonia.Rendering.ImmediateRenderer clears the render target right after direct3d renders its content:

public void Paint(Rect rect)
...
context.PlatformImpl.Clear(Colors.Transparent);

@maxkatz6 maxkatz6 closed this as not planned Won't fix, can't repro, duplicate, stale Jan 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants