summaryrefslogtreecommitdiffstats
path: root/tests/auto
diff options
context:
space:
mode:
authorPaul Lemire <paul.lemire.ecortex@kdab.com>2014-11-19 16:10:23 +0100
committerSean Harmer <sean.harmer@kdab.com>2014-12-12 14:16:53 +0100
commit278421b5ddd8f7171353d0ef39f8d96edce82eb0 (patch)
tree0edc1c7bee4ee077846ff73f7a878c39707c98b2 /tests/auto
parentb4363d0e86099e35ad6d6edc2d00ab7a6a1c4ae0 (diff)
QGraphicsUtils: added methods to help filling UBO buffers
- for scalar and scalar arrays, fillDataArray will fill the byte buffer applying the array stride defined in the ShaderUniform description. - for matrices, fillDataMatrixArray will fill the byte buffer applying a the matrix and array stride defined in the ShaderUniform description. This will allow us to handle any type of packing for uniform blocks. Change-Id: Idf6d16ecedecfc56b3e979a8a6760f1696805944 Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
Diffstat (limited to 'tests/auto')
0 files changed, 0 insertions, 0 deletions