Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
|
Public Member Functions | |
TextureCopy (QRhi *rhi, QRhiTexture *externalTex) | |
std::unique_ptr< QRhiTexture > | copyExternalTexture (QSize size, const QMatrix4x4 &externalTexMatrix) |
Definition at line 130 of file qandroidvideooutput.cpp.
|
inline |
Definition at line 141 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 207 of file qandroidvideooutput.cpp.
References QRhi::newTexture(), QRhi::newTextureRenderTarget(), qWarning, QRhiTexture::RenderTarget, and QRhiTexture::RGBA8.