#pragma once #include "FrameBuffer.h" #include "Renderer.h" #include #include #include #include class YVURenderer: public Renderer { public: YVURenderer(); virtual ~YVURenderer(); // Initialize OpenGL resources // @return true if successful bool InitializeGLProgram(); bool DrawTexture(); private: // Source code for shaders. const char* VertexShaderSource() const; const char* FragmentShaderSource() const; // Attribute locations GLint mPositionLoc; GLint mTexCoordLoc; // Sampler location GLint mSamplerLoc; };