![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
#include <qwindowsd3d11rhitextureimporter_p.h>
Public Member Functions | |
| QWindowsD3D11RhiTextureImporter () | |
| ~QWindowsD3D11RhiTextureImporter () | |
| QVideoFrameTexturesHandlesUPtr | importTexture (QRhi &, ID3D11Device *srcDevice, ID3D11DeviceContext *srcContext, const ComPtr< ID3D11Texture2D > &texture, const QSize &frameSize, QVideoFrameFormat::PixelFormat pixelFormat, UINT subresourceIndex=0) |
Static Public Member Functions | |
| static bool | isRhiBackendSupported (QRhi &) |
| static bool | isPixelFormatSupportedByRhiBackend (QRhi &, QVideoFrameFormat::PixelFormat) |
Definition at line 67 of file qwindowsd3d11rhitextureimporter_p.h.
|
default |
|
default |
| QVideoFrameTexturesHandlesUPtr QtMultimediaPrivate::QWindowsD3D11RhiTextureImporter::importTexture | ( | QRhi & | rhi, |
| ID3D11Device * | srcDevice, | ||
| ID3D11DeviceContext * | srcContext, | ||
| const ComPtr< ID3D11Texture2D > & | texture, | ||
| const QSize & | frameSize, | ||
| QVideoFrameFormat::PixelFormat | pixelFormat, | ||
| UINT | subresourceIndex = 0 ) |
'pixelFormat' is only consulted on D3D12 and OpenGL, to route multi-plane textures through QWindowsD3D11PlaneSplitter. Returns null on failure.
Definition at line 378 of file qwindowsd3d11rhitextureimporter.cpp.
|
static |
Returns whether a texture of the given pixel format can be imported into 'rhi'. On D3D12 and OpenGL, multi-plane formats must be splittable by QWindowsD3D11PlaneSplitter.
Definition at line 362 of file qwindowsd3d11rhitextureimporter.cpp.
|
static |
Definition at line 327 of file qwindowsd3d11rhitextureimporter.cpp.