Shader: Difference between revisions
From Crumbled World Wiki
(Created page with "{{:ShaderExampleCode}} ==Functions== {| class="wikitable" !|return !|function !|description |- |string |getName() |Get shader name. |- |string |getFullName() |Get shader name and the including defintions. This name can be used to load the shader from Core.getShader(). |- |{string} |getDefinitions() |Get all shader definitions |- | |Shader:bindTextureLocation(string textureName, int glId)|bindTe...") |
(No difference)
|
Latest revision as of 14:26, 5 July 2025
Functions
| return | function | description |
|---|---|---|
| string | getName() | Get shader name. |
| string | getFullName() | Get shader name and the including defintions. This name can be used to load the shader from Core.getShader(). |
| {string} | getDefinitions() | Get all shader definitions |
| bindTextureLocation(string textureName, int glId) | Bind texture name to specifig opengl id. |