Class PPShader

    • Constructor Detail

      • PPShader

        public PPShader()
    • Method Detail

      • getPPFragShaderFile

        protected abstract String getPPFragShaderFile()
      • addShaders

        protected void addShaders()
        Description copied from class: Shader
        Adding shaders to program
        Specified by:
        addShaders in class Shader
      • bindAttribs

        protected void bindAttribs()
        Description copied from class: Shader
        Binding all vbo attributes to shader attribute ("in" variable)
        Specified by:
        bindAttribs in class Shader
      • loadUniforms

        protected void loadUniforms()
        Description copied from class: Shader
        Loading uniform locations
        Specified by:
        loadUniforms in class Shader
      • setUniformLocations

        protected abstract void setUniformLocations()
        Setting the effect shader relevant uniforms.
      • setBaseTexture

        public void setBaseTexture​(int color,
                                   int depth)
        Setting base post processing effect textures
        Parameters:
        color - Input color texture
        depth - Input depth buffer texture