picogl.backend.gl.api.shader.compile ==================================== .. py:module:: picogl.backend.gl.api.shader.compile Functions --------- .. autoapisummary:: picogl.backend.gl.api.shader.compile.gl_compile_shader Module Contents --------------- .. py:function:: gl_compile_shader(shader: int) Compiles a specified OpenGL shader. This function wraps the OpenGL `glCompileShader` call and initiates the compilation process for the given shader. :raises RuntimeError: If an OpenGL error is encountered during the shader compilation process. :param shader: The handle or ID of the shader to compile. This must be a valid shader object created using OpenGL before calling this function. :type shader: int