mirror of
https://github.com/PixarAnimationStudios/OpenSubdiv
synced 2024-12-01 15:50:07 +00:00
4a4322983f
Remove DrawRegistry from osd layer and put a simple shader caching utility into examples/common. osd layer only provides patch shader snippet and let client configure and compile the code. Clients also maintain the lifetime of shader object, which is preferable for the actual application integration. update all examples to use the new scheme. |
||
---|---|---|
.. | ||
CMakeLists.txt | ||
glPaintTest.cpp | ||
init_shapes.h | ||
paintShader.glsl | ||
shader.glsl |