picogl.backend.modern.core.shader.load

Functions

load_shader(shader_type)

A decorator to load the shader and set the MVP matrix.

Module Contents

picogl.backend.modern.core.shader.load.load_shader(shader_type: picogl.shaders.type.ShaderType)[source]

A decorator to load the shader and set the MVP matrix.

Parameters:

shader_type (ShaderType) – The type of shader to use.