#pragma once #include class CustomThumbnail : public CFFGLPlugin { public: CustomThumbnail(); //CFFGLPlugin FFResult InitGL( const FFGLViewportStruct* vp ) override; FFResult ProcessOpenGL( ProcessOpenGLStruct* pGL ) override; FFResult DeInitGL() override; FFResult SetFloatParameter( unsigned int dwIndex, float value ) override; float GetFloatParameter( unsigned int index ) override; private: float intensity; ffglex::FFGLShader shader; //!< Utility to help us compile and link some shaders into a program. ffglex::FFGLScreenQuad quad;//!< Utility to help us render a full screen quad. GLint intensityLocation; };