summaryrefslogtreecommitdiff
path: root/librocket/rocket
diff options
context:
space:
mode:
authorVito Caputo <vcaputo@pengaru.com>2021-09-25 16:01:54 -0700
committerVito Caputo <vcaputo@pengaru.com>2021-09-26 18:05:06 -0700
commita59229b6d83057650b320e44ad1f2e74f6fceac7 (patch)
tree2e204f70a800fbf0837eae70be93cc03f317747f /librocket/rocket
parent6f1584f3d16ed04934da9bb1a7591ae3d4127b9a (diff)
shader: introduce shader_active_uniforms()
The existing shader api only supports caller-provided uniforms and attributes at instantiation time, with no ability to introspect what uniforms are actually actively present in a given shader. This commit adds introspection of the active uniforms for a given shader at creation time, as well as when reloaded, keeping the information around to be accessed via shader_active_uniforms(). The immediate impetus for this is supporting runtime discovery of uniforms present in the shader source, with the intention of exposing these as sequencer tracks for external manipulation.
Diffstat (limited to 'librocket/rocket')
0 files changed, 0 insertions, 0 deletions
© All Rights Reserved