picogl.backend.gl.api.shader.source =================================== .. py:module:: picogl.backend.gl.api.shader.source Functions --------- .. autoapisummary:: picogl.backend.gl.api.shader.source.gl_shader_source Module Contents --------------- .. py:function:: gl_shader_source(shader: int, source: str | bytes | list[str]) -> None Replace the source code in a shader object. :param shader: OpenGL shader object handle. :param source: GLSL source as a string, bytes, or list of strings.