ClassesScreenShaderOn this pageScreenShader Helper that defines a whole screen renderer, just provide a fragment source! Currently supports 1 varyingvec2 a_texcoord between 0-1 which corresponds to screen positionIndex ConstructorsconstructorMethodsgetLayoutgetShaderConstructors constructornew ScreenShader(gl: WebGL2RenderingContext, fragmentSource: string): ScreenShaderParametersgl: WebGL2RenderingContextfragmentSource: stringReturns ScreenShaderMethods publicgetLayoutgetLayout(): VertexLayoutReturns VertexLayoutpublicgetShadergetShader(): ShaderReturns Shader
Helper that defines a whole screen renderer, just provide a fragment source!
Currently supports 1 varying