summaryrefslogtreecommitdiffstats
path: root/src/gui/util/qshadergenerator.cpp
diff options
context:
space:
mode:
authorLaszlo Agocs <laszlo.agocs@qt.io>2020-02-20 11:03:16 +0100
committerLaszlo Agocs <laszlo.agocs@qt.io>2020-02-21 09:15:18 +0100
commit2940c375e40687f5758d173adceaee212239e2ca (patch)
tree3f75011b37d9d0e205e4d11d6a85dc38fa9b8f51 /src/gui/util/qshadergenerator.cpp
parent79b605d285d006ff7434fc813effa3479138b952 (diff)
rhi: Allow querying the native buffer objects behind a QRhiBuffer
Modeled after QRhiTexture's NativeTexture query. This becomes valuable in advanced cases of integrating external native rendering code with Qt Quick(3D), because it allows using (typically vertex and index) buffers created by Quick(3D) in the custom renderer as well, without having to duplicate the content by manually creating native buffers with the same vertex and index data. Change-Id: I659193345fa1dfe6221b898043f0b75ba649d296 Reviewed-by: Andy Nichols <andy.nichols@qt.io>
Diffstat (limited to 'src/gui/util/qshadergenerator.cpp')
0 files changed, 0 insertions, 0 deletions