]> git.tdb.fi Git - libs/gl.git/blobdiff - source/core/program.h
Make framebuffer attachment accessors public
[libs/gl.git] / source / core / program.h
index 9a4eb27a2dcb94f7fbfadf0102a290e9460002a1..b6b639bfcbb49b877bcc46254193daa36ab41400 100644 (file)
@@ -51,6 +51,7 @@ private:
        };
 
        ReflectData reflect_data;
+       SpirVModule *specialized_spirv = 0;
 
 public:
        /// Constructs an empty Program with no shader stages attached.
@@ -59,6 +60,9 @@ public:
        /// Constructs a Program from a Module, with specialization constants.
        Program(const Module &, const std::map<std::string, int> & = std::map<std::string, int>());
 
+       Program(Program &&);
+       ~Program();
+
        void add_stages(const Module &, const std::map<std::string, int> & = std::map<std::string, int>());
 private:
        void collect_uniforms(const SpirVModule &);