mojo:mojo.graphics.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) |
Functions | |
---|---|
GetShader | Gets a shader with a given name. |
Open | Gets a shader with a given name. |