- All Superinterfaces:
QtObjectInterface
Provides access to and enables adopting Metal texture objects
Java wrapper for Qt class QNativeInterface::QSGMetalTexture
- Since:
- This class was introduced in Qt 6.0.
-
Method Summary
Modifier and TypeMethodDescriptionstatic QSGTexture
fromNative
(QNativePointer texture, QQuickWindow window, QSize size) Overloaded function forfromNative(io.qt.QNativePointer, io.qt.quick.QQuickWindow, io.qt.core.QSize, io.qt.quick.QQuickWindow.CreateTextureOptions)
withoptions = new io.qt.quick.QQuickWindow.CreateTextureOptions(0)
.static QSGTexture
fromNative
(QNativePointer texture, QQuickWindow window, QSize size, QQuickWindow.CreateTextureOption ... options) static QSGTexture
fromNative
(QNativePointer texture, QQuickWindow window, QSize size, QQuickWindow.CreateTextureOptions options) Methods inherited from interface io.qt.QtObjectInterface
dispose, isDisposed
-
Method Details
-
nativeTexture
- Returns:
-
fromNative
static QSGTexture fromNative(QNativePointer texture, QQuickWindow window, QSize size, QQuickWindow.CreateTextureOptions options) - Parameters:
texture
-window
-size
-options
-- Returns:
- Since:
- This function was introduced in Qt 6.0.
-
fromNative
Overloaded function for
fromNative(io.qt.QNativePointer, io.qt.quick.QQuickWindow, io.qt.core.QSize, io.qt.quick.QQuickWindow.CreateTextureOptions)
withoptions = new io.qt.quick.QQuickWindow.CreateTextureOptions(0)
. -
fromNative
static QSGTexture fromNative(QNativePointer texture, QQuickWindow window, QSize size, QQuickWindow.CreateTextureOption ... options)
-