X-Git-Url: https://git.sesse.net/?p=movit;a=blobdiff_plain;f=effect_chain.h;fp=effect_chain.h;h=de50512f204b7f15fd67f9620307026c44fad528;hp=718d5ff7830cde86c7fb192b77417278dd68f7cf;hb=abd6d031918db487e0724218dc604d4a51e5f650;hpb=9a945c3c5c62e0250015e69b5b091a849bd11c10 diff --git a/effect_chain.h b/effect_chain.h index 718d5ff..de50512 100644 --- a/effect_chain.h +++ b/effect_chain.h @@ -179,6 +179,10 @@ struct Phase { std::vector > uniforms_vec4; std::vector > uniforms_mat3; + GLuint ubo; // GL_INVALID_INDEX if not using UBOs. + GLuint uniform_block_index; + std::vector ubo_data; + // For measurement of GPU time used. std::list timer_query_objects_running; std::list timer_query_objects_free;