Welcome to Python-flavored Magnum! Please note that, while already being
rather stable, this functionality is still considered experimental and
some APIs might get changed without preserving full backwards compatibility.
class
ShaderShader
Enums
- class Type: VERTEX = 35633 TESSELLATION_CONTROL = 36488 TESSELLATION_EVALUATION = 36487 GEOMETRY = 36313 COMPUTE = 37305 FRAGMENT = 35632
- Shader type
Methods
Special methods
Properties
Method documentation
def magnum. gl. Shader. compile(self, /) -> None
Compile shader
Exceptions | |
---|---|
RuntimeError | If compilation fails |