]> git.sesse.net Git - casparcg/blobdiff - core/mixer/gpu/shader.h
2.0. - blend_modes are re-enabled.
[casparcg] / core / mixer / gpu / shader.h
index caea024b9af1e995d3cecba5c67c2e16f6d92866..0595edbccd28c1ea24494eda131fc9ca1a97906d 100644 (file)
@@ -12,13 +12,15 @@ class shader : boost::noncopyable
 {\r
 public:\r
        shader(const std::string& vertex_source_str, const std::string& fragment_source_str);\r
-       void use();\r
        void set(const std::string& name, int value);\r
        void set(const std::string& name, float value);\r
        void set(const std::string& name, double value);\r
 private:\r
+       friend class ogl_device;\r
        struct implementation;\r
        safe_ptr<implementation> impl_;\r
+\r
+       int id() const;\r
 };\r
 \r
 }}
\ No newline at end of file