MCPcopy
hub / github.com/g3n/engine / Programs

Function Programs

renderer/shaders/shaders.go:100–107  ·  view source on GitHub ↗

Programs returns list with the names of all programs currently in the default shaders registry.

()

Source from the content-addressed store, hash-verified

98
99// Programs returns list with the names of all programs currently in the default shaders registry.
100func 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

Callers 1

AddDefaultShadersMethod · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected