Home | History | Annotate | Download | only in material

Lines Matching defs:technique

91     private Technique technique;
92 private HashMap<String, Technique> techniques = new HashMap<String, Technique>();
172 Technique t = getActiveTechnique();
224 mat.technique = null;
225 mat.techniques = new HashMap<String, Technique>();
240 * Returns the currently active technique.
242 * The technique is selected automatically by the {@link RenderManager}
244 * technique by using
247 * @return the currently active technique.
251 public Technique getActiveTechnique() {
252 return technique;
406 if (technique != null) {
407 technique.notifySetParam(name, type, value);
428 if (technique != null) {
429 technique.notifyClearParam(name);
494 if (technique != null) {
495 technique.notifySetParam(name, type, nextTexUnit - 1);
815 * Select the technique to use for rendering this material.
819 * on the material will be selected. Otherwise, the named technique
822 * Any candidate technique for selection (either default or named)
826 * @param name The name of the technique to select, pass "Default" to
833 * is passed but there's no technique by that name.
834 * @throws UnsupportedOperationException If no candidate technique supports
839 Technique tech = techniques.get(name);
841 // When choosing technique, we choose one that
855 tech = new Technique(this, techDef);
862 throw new UnsupportedOperationException("No default technique on material '" + def.getName() + "'\n"
868 technique instance
871 throw new IllegalArgumentException("For material " + def.getName() + ", technique not found: " + name);
875 throw new UnsupportedOperationException("The explicitly chosen technique '" + name + "' on material '" + def.getName() + "'\n"
880 tech = new Technique(this, techDef);
883 } else if (technique == tech) {
885 // active technique.
889 technique = tech;
897 if (technique == null) {
898 // NOTE: Not really needed anymore since we have technique
906 } else if (technique.isNeedReload()) {
907 technique.makeCurrent(def.getAssetManager());
924 TechniqueDef techDef = technique.getDef();
936 technique.updateUniformParam(param.getName(),
942 Shader shader = technique.getShader();
980 TechniqueDef techDef = technique.getDef();
1002 clearUniformsSetByCurrent(technique.getShader());
1003 rm.updateUniformBindings(technique.getWorldBindUniforms());
1009 param.apply(r, technique);
1012 Shader shader = technique.getShader();