IncludeSource returns the source code of the specified shader include chunk. If the name is not found an empty string is returned.
(name string)
| 75 | // IncludeSource returns the source code of the specified shader include chunk. |
| 76 | // If the name is not found an empty string is returned. |
| 77 | func IncludeSource(name string) string { |
| 78 | |
| 79 | return includeMap[name] |
| 80 | } |
| 81 | |
| 82 | // Shaders returns list with the names of all shaders currently in the default shaders registry. |
| 83 | func Shaders() []string { |