Programs returns list with the names of all programs currently in the default shaders registry.
()
| 98 | |
| 99 | // Programs returns list with the names of all programs currently in the default shaders registry. |
| 100 | func Programs() []string { |
| 101 | |
| 102 | list := make([]string, 0) |
| 103 | for name := range programMap { |
| 104 | list = append(list, name) |
| 105 | } |
| 106 | return list |
| 107 | } |
| 108 | |
| 109 | // GetProgramInfo returns ProgramInfo struct for the specified program name |
| 110 | // in the default shaders registry |