.. index:: pair: class; EE::Graphics::RendererGLShader .. _doxid-class_e_e_1_1_graphics_1_1_renderer_g_l_shader: class EE::Graphics::RendererGLShader ==================================== .. toctree:: :hidden: .. ref-code-block:: cpp :class: doxyrest-overview-code-block #include class RendererGLShader: public :ref:`EE::Graphics::Renderer` { public: // construction :target:`~RendererGLShader`(); // methods virtual void :target:`pushMatrix`(); virtual void :target:`popMatrix`(); virtual void :target:`loadIdentity`(); virtual void :target:`loadMatrixf`(const float* m); virtual void :target:`translatef`(float x, float y, float z); virtual void :target:`rotatef`(float angle, float x, float y, float z); virtual void :target:`scalef`(float x, float y, float z); virtual void :target:`matrixMode`(unsigned int mode); virtual void :target:`ortho`(float left, float right, float bottom, float top, float zNear, float zFar); virtual void :target:`lookAt`( float eyeX, float eyeY, float eyeZ, float centerX, float centerY, float centerZ, float upX, float upY, float upZ ); virtual void :target:`perspective`(float fovy, float aspect, float zNear, float zFar); virtual void :target:`frustum`(float left, float right, float bottom, float top, float near_val, float far_val); virtual void :target:`getCurrentMatrix`(unsigned int mode, float* m); virtual void :target:`multMatrixf`(const float* m); virtual unsigned int :target:`getCurrentMatrixMode`(); virtual int :target:`project`( float objx, float objy, float objz, const float modelMatrix[16], const float projMatrix[16], const int viewport[4], float* winx, float* winy, float* winz ); virtual int :target:`unProject`( float winx, float winy, float winz, const float modelMatrix[16], const float projMatrix[16], const int viewport[4], float* objx, float* objy, float* objz ); }; Inherited Members ----------------- .. ref-code-block:: cpp :class: doxyrest-overview-inherited-code-block public: // methods static :ref:`GraphicsLibraryVersion` :ref:`glVersionFromString`(std::string glVersion); static std::string :ref:`graphicsLibraryVersionToString`(const :ref:`GraphicsLibraryVersion`& glVersion); static :ref:`GraphicsLibraryVersion` :ref:`getDefaultGraphicsLibraryVersion`(); static std::vector<:ref:`GraphicsLibraryVersion`> :ref:`getAvailableGraphicsLibraryVersions`(); static :ref:`Renderer`* :ref:`createSingleton`(:ref:`GraphicsLibraryVersion` ver); static :ref:`Renderer`* :ref:`createSingleton`(); static :ref:`Renderer`* :ref:`existsSingleton`(); static :ref:`Renderer`* :ref:`instance`(); static void :ref:`destroySingleton`(); virtual void :ref:`init`(); std::string :ref:`getVendor`(); std::string :ref:`getRenderer`(); std::string :ref:`getVersion`(); std::string :ref:`getShadingLanguageVersion`(); bool :ref:`isExtension`(const std::string& name); bool :ref:`isExtension`(:ref:`GraphicsLibraryExtension` name); bool :ref:`pointSpriteSupported`(); bool :ref:`shadersSupported`(); void :ref:`clear`(unsigned int mask); void :ref:`clearColor`(float red, float green, float blue, float alpha); void :ref:`scissor`(int x, int y, int width, int height); void :ref:`polygonMode`(unsigned int face, unsigned int mode); std::string :ref:`getExtensions`(); const char* :ref:`getString`(unsigned int name); void :ref:`drawArrays`(unsigned int mode, int first, int count); void :ref:`drawElements`(unsigned int mode, int count, unsigned int type, const void* indices); void :ref:`bindTexture`(unsigned int target, unsigned int texture); void :ref:`activeTexture`(unsigned int texture); void :ref:`blendFunc`(unsigned int sfactor, unsigned int dfactor); void :ref:`blendFuncSeparate`(unsigned int sfactorRGB, unsigned int dfactorRGB, unsigned int sfactorAlpha, unsigned int dfactorAlpha); void :ref:`blendEquationSeparate`(unsigned int modeRGB, unsigned int modeAlpha); void :ref:`blitFrameBuffer`( int srcX0, int srcY0, int srcX1, int srcY1, int dstX0, int dstY0, int dstX1, int dstY1, unsigned int mask, unsigned int filter ); void :ref:`viewport`(int x, int y, int width, int height); void :ref:`lineSmooth`(const bool& enable); void :ref:`lineWidth`(float width); void :ref:`lineSmooth`(); bool :ref:`isLineSmooth`(); void :ref:`polygonSmooth`(const bool& enable); void :ref:`polygonSmooth`(); bool :ref:`isPolygonSmooth`(); void :ref:`polygonMode`(const :ref:`PrimitiveFillMode`& Mode); void :ref:`polygonMode`(); void :ref:`pixelStorei`(unsigned int pname, int param); void :ref:`multisample`(bool enable); bool :ref:`isMultisample`(); :ref:`RendererGL`* :ref:`getRendererGL`(); RendererGL3* :ref:`getRendererGL3`(); RendererGL3CP* :ref:`getRendererGL3CP`(); RendererGLES2* :ref:`getRendererGLES2`(); virtual void :ref:`pointSize`(float size) = 0; virtual float :ref:`pointSize`() = 0; virtual void :ref:`clientActiveTexture`(unsigned int texture) = 0; virtual void :ref:`disable`(unsigned int cap); virtual void :ref:`enable`(unsigned int cap); virtual :ref:`GraphicsLibraryVersion` :ref:`version`() = 0; virtual std::string :ref:`versionStr`() = 0; virtual void :ref:`pushMatrix`() = 0; virtual void :ref:`popMatrix`() = 0; virtual void :ref:`loadIdentity`() = 0; virtual void :ref:`translatef`(float x, float y, float z) = 0; virtual void :ref:`rotatef`(float angle, float x, float y, float z) = 0; virtual void :ref:`scalef`(float x, float y, float z) = 0; virtual void :ref:`matrixMode`(unsigned int mode) = 0; virtual void :ref:`ortho`(float left, float right, float bottom, float top, float zNear, float zFar) = 0; virtual void :ref:`lookAt`( float eyeX, float eyeY, float eyeZ, float centerX, float centerY, float centerZ, float upX, float upY, float upZ ) = 0; virtual void :ref:`perspective`(float fovy, float aspect, float zNear, float zFar) = 0; virtual void :ref:`enableClientState`(unsigned int array) = 0; virtual void :ref:`disableClientState`(unsigned int array) = 0; virtual void :ref:`vertexPointer`(int size, unsigned int type, int stride, const void* pointer, unsigned int allocate) = 0; virtual void :ref:`colorPointer`(int size, unsigned int type, int stride, const void* pointer, unsigned int allocate) = 0; virtual void :ref:`texCoordPointer`(int size, unsigned int type, int stride, const void* pointer, unsigned int allocate) = 0; virtual void :ref:`setShader`(:ref:`ShaderProgram`* Shader); virtual void :ref:`clip2DPlaneEnable`(const :ref:`Int32`& x, const :ref:`Int32`& y, const :ref:`Int32`& Width, const :ref:`Int32`& Height) = 0; virtual void :ref:`clip2DPlaneDisable`() = 0; virtual void :ref:`multMatrixf`(const float* m) = 0; virtual void :ref:`clipPlane`(unsigned int plane, const double* equation) = 0; virtual void :ref:`loadMatrixf`(const float* m) = 0; virtual void :ref:`frustum`(float left, float right, float bottom, float top, float near_val, float far_val) = 0; virtual void :ref:`getCurrentMatrix`(unsigned int mode, float* m) = 0; virtual unsigned int :ref:`getCurrentMatrixMode`() = 0; void :ref:`getViewport`(int* viewport); virtual int :ref:`project`( float objx, float objy, float objz, const float modelMatrix[16], const float projMatrix[16], const int viewport[4], float* winx, float* winy, float* winz ) = 0; virtual int :ref:`unProject`( float winx, float winy, float winz, const float modelMatrix[16], const float projMatrix[16], const int viewport[4], float* objx, float* objy, float* objz ) = 0; :ref:`Vector3f` :ref:`projectCurrent`(const :ref:`Vector3f`& point); :ref:`Vector3f` :ref:`unProjectCurrent`(const :ref:`Vector3f`& point); void :ref:`stencilFunc`(unsigned int func, int ref, unsigned int mask); void :ref:`stencilOp`(unsigned int fail, unsigned int zfail, unsigned int zpass); void :ref:`stencilMask`(unsigned int mask); void :ref:`colorMask`(:ref:`Uint8` red, :ref:`Uint8` green, :ref:`Uint8` blue, :ref:`Uint8` alpha); void :ref:`bindVertexArray`(unsigned int array); void :ref:`deleteVertexArrays`(int n, const unsigned int* arrays); void :ref:`genVertexArrays`(int n, unsigned int* arrays); const bool& :ref:`quadsSupported`() const; const int& :ref:`quadVertexs`() const; :ref:`ClippingMask`* :ref:`getClippingMask`() const; void :ref:`genFramebuffers`(int n, unsigned int* framebuffers); void :ref:`deleteFramebuffers`(int n, const unsigned int* framebuffers); void :ref:`bindFramebuffer`(unsigned int target, unsigned int framebuffer); void :ref:`framebufferTexture2D`(unsigned int target, unsigned int attachment, unsigned int textarget, unsigned int texture, int level); void :ref:`genRenderbuffers`(int n, unsigned int* renderbuffers); void :ref:`deleteRenderbuffers`(int n, const unsigned int* renderbuffers); void :ref:`bindRenderbuffer`(unsigned int target, unsigned int renderbuffer); void :ref:`renderbufferStorage`(unsigned int target, unsigned int internalformat, int width, int height); void :ref:`framebufferRenderbuffer`(unsigned int target, unsigned int attachment, unsigned int renderbuffertarget, unsigned int renderbuffer); unsigned int :ref:`checkFramebufferStatus`(unsigned int target); void :ref:`discardFramebuffer`(unsigned int target, int numAttachments, const unsigned int* attachments); void* :ref:`getProcAddress`(std::string proc); void :ref:`readPixels`(int x, int y, unsigned int width, unsigned int height, void* pixels); :ref:`Color` :ref:`readPixel`(int x, int y);