Mojo graphics shader
mojo:mojo.graphics.Shader
Class Shader#
The Shader class.
Constructors | |
---|---|
New | Creates a new shader. |
Properties | |
---|---|
Name | The shader name. (read only) |
RenderPassMask | Renderpass bitmask. (read only) |
RenderPasses | The renderpasses the shader is valid for. (read only) |
Source | The shader source code. (read only) |
Uniforms | Shader global uniforms. (read only) |
Methods | |
---|---|
Bind | |
ValidateUniforms |
Functions | |
---|---|
GetShader | Gets a shader with a given name. |
Load | Loads a shader with a given name. |
Open | Gets a shader with a given name. |