Home | History | Annotate | Download | only in material

Lines Matching refs:VarType

49 import com.jme3.shader.VarType;
365 * @see #setParam(java.lang.String, com.jme3.shader.VarType, java.lang.Object)
371 private String checkSetParam(VarType type, String name) {
399 * @param type the type of the parameter {@link VarType}
402 public void setParam(String name, VarType type, Object value) {
476 * @param type The variable type {@link VarType}
481 public void setTextureParam(String name, VarType type, Texture value) {
516 VarType paramType = null;
519 paramType = VarType.Texture2D;
522 paramType = VarType.TextureArray;
525 paramType = VarType.Texture3D;
528 paramType = VarType.TextureCubeMap;
544 setParam(name, VarType.Matrix4, value);
554 setParam(name, VarType.Boolean, value);
564 setParam(name, VarType.Float, value);
574 setParam(name, VarType.Int, value);
584 setParam(name, VarType.Vector4, value);
594 setParam(name, VarType.Vector2, value);
604 setParam(name, VarType.Vector3, value);
614 setParam(name, VarType.Vector4, value);
657 ambientColor.setValue(VarType.Vector4, getAmbientColor(lightList));
734 ambientColor.setValue(VarType.Vector4, getAmbientColor(lightList));
738 ambientColor.setValue(VarType.Vector4, ColorRGBA.Black);
753 lightColor.setValue(VarType.Vector4, tmpLightColor);
761 lightPos.setValue(VarType.Vector4, tmpLightPosition);
763 lightDir.setValue(VarType.Vector4, tmpLightDirection);
771 lightPos.setValue(VarType.Vector4, tmpLightPosition);
773 lightDir.setValue(VarType.Vector4, tmpLightDirection);
783 lightPos.setValue(VarType.Vector4, tmpLightPosition);
792 lightDir.setValue(VarType.Vector4, tmpLightDirection);
806 ambientColor.setValue(VarType.Vector4, getAmbientColor(lightList));
807 lightColor.setValue(VarType.Vector4, ColorRGBA.BlackNoAlpha);
808 lightPos.setValue(VarType.Vector4, nullDirLight);