summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorPaul Lemire <paul.lemire@kdab.com>2016-08-19 08:47:50 +0200
committerPaul Lemire <paul.lemire@kdab.com>2016-08-26 06:00:14 +0000
commit1bc63ffce04bb07a490a2eb09272b1866e1a9585 (patch)
treef8d7c3840e486c79cd4a8cc1c1753c5b777045d0 /examples
parent8dd937319e68b619dc6a3416c5c3d902949ed1fe (diff)
QAbstractTexture::CubeMapFace: add a new entry AllFaces
When rendering a cube map to an FBO, we may want to specify that we want to render to all the faces rather than a single one. This is indeed possible with a geometry shader and using gl_Layer. For such a case we need to be able to specify that in the QRenderTargetOutput face property. Note: gl_Layer can also be used with texture arrays but a neat api to specify which layers to use on QRenderTargetOuput seems a bit more tricky in that case. Change-Id: I6abf8667fd0905d78c22ef8d5f1f792a5973bbbe Reviewed-by: Kevin Ottens <kevin.ottens@kdab.com>
Diffstat (limited to 'examples')
0 files changed, 0 insertions, 0 deletions