![]() |
Qt 6.x
The Qt SDK
|
Public Member Functions | |
TextureCopy (QRhi *rhi, QRhiTexture *externalTex) | |
std::unique_ptr< QRhiTexture > | copyExternalTexture (QSize size, const QMatrix4x4 &externalTexMatrix) |
Definition at line 113 of file qandroidvideooutput.cpp.
|
inline |
Definition at line 124 of file qandroidvideooutput.cpp.
References QRhiSampler::ClampToEdge, QRhiBuffer::Dynamic, QRhiShaderResourceBinding::FragmentStage, g_quad, QRhiBuffer::Immutable, QShader::isValid(), QRhiSampler::Nearest, QRhi::newBuffer(), QRhi::newSampler(), QRhi::newShaderResourceBindings(), QRhiSampler::None, Q_ASSERT, QStringLiteral, QRhiShaderResourceBinding::sampledTexture(), QRhiShaderResourceBinding::uniformBuffer(), QRhiBuffer::UniformBuffer, QRhiBuffer::VertexBuffer, and QRhiShaderResourceBinding::VertexStage.
std::unique_ptr< QRhiTexture > TextureCopy::copyExternalTexture | ( | QSize | size, |
const QMatrix4x4 & | externalTexMatrix | ||
) |
Definition at line 190 of file qandroidvideooutput.cpp.
References QRhi::newTexture(), QRhi::newTextureRenderTarget(), qWarning, QRhiTexture::RenderTarget, and QRhiTexture::RGBA8.