1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768 |
-
- #ifndef _INCLUDE__GEM_OPENGL_spoutReceive_H_
- #define _INCLUDE__GEM_OPENGL_spoutReceive_H_
- #include "Base/GemGLBase.h"
- #include "SpoutLibrary.h"
- #include <string>
- class GEM_EXTERN spoutReceive : public GemBase
- {
- CPPEXTERN_HEADER(spoutReceive, GemBase);
- public:
-
- spoutReceive (t_symbol* s);
- protected:
-
- virtual ~spoutReceive ();
- virtual void render (GemState *state);
- t_symbol* s2;
- char sym[256];
- GLuint spoutTexture;
- GLuint num;
- int h,w,mode;
-
- bool texture;
- bool bMemoryMode;
- GLuint sendertexture;
- bool bInitialized;
- bool bMemoryShare;
- t_symbol *m_bindname;
- void initTexture();
- static void setMessCallback (void*data, t_symbol*indexed);
- static void info(void* data);
- void infoMess();
- virtual void setMess(t_symbol*indexed);
- private:
- t_outlet *m_outTexInfo;
-
- SPOUTLIBRARY *spoutreceiver;
-
-
- };
- #endif
|