MCPcopy Create free account
hub / github.com/OpenEndedGroup/Field2 / addSource

Method addSource

src/main/java/field/graphics/Shader.java:215–219  ·  view source on GitHub ↗
(Type type, Supplier<String> source)

Source from the content-addressed store, hash-verified

213 s.name = GL20.glCreateProgram();
214 return s;
215 }
216
217 public Source addSource(Type type, Supplier<String> source) {
218 Source s = new Source(source, type);
219 this.source.put(type, s);
220 return s;
221 }
222

Callers 15

newShaderFromBoxMethod · 0.95
newShaderFromBoxMethod · 0.95
drawIntoMethod · 0.95
compositeWithMethod · 0.95
blurIntoMethod · 0.95
processMethod · 0.80
installMethod · 0.80
installMethod · 0.80
installMethod · 0.80
StandardMethod · 0.80
installMethod · 0.80

Calls 1

putMethod · 0.45

Tested by

no test coverage detected