-
-
Notifications
You must be signed in to change notification settings - Fork 42
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
Functions missing from QQuickRenderTarget #89
Comments
No, actually, they are rejected in the type system specification: <rejection class="QQuickRenderTarget" function-name="fromNativeTexture"/>
<rejection class="QQuickRenderTarget" function-name="fromRhiRenderTarget"/>
<rejection class="QQuickRenderTarget" function-name="fromD3D11Texture"/>
<rejection class="QQuickRenderTarget" function-name="fromMetalTexture"/>
<rejection class="QQuickRenderTarget" function-name="fromVulkanImage"/> |
So is there a specific reason they are rejected? Is vulkan not supported? |
After farther reading of the generator: from my understanding the typesystem_quick-common.xml rejects everything referencing rendering apis that are not opengl... Which means they is not supported. |
Yes, up to now. However, since there is a way to access vulkan native interface I will evaluate a way to make these functions available. |
while the
fromOpenGL...(...)
functions are available, none of the functions for other graphics APIs aren't. (such asfromVulkanImage(...)
andfromMetalTexture
)Looking at the qt source headers, it seems like the preprocessor directives like
#if QT_CONFIG(vulkan) || defined(Q_CLANG_QDOC)
are confusing the generator?The text was updated successfully, but these errors were encountered: