All Downloads are FREE. Search and download functionalities are using the official Maven repository.

Effekseer.swig.EffekseerTextureType Maven / Gradle / Ivy

There is a newer version: 21.1.7
Show newest version
/* ----------------------------------------------------------------------------
 * This file was automatically generated by SWIG (https://www.swig.org).
 * Version 4.2.1
 *
 * Do not make changes to this file unless you know what you are doing - modify
 * the SWIG interface file instead.
 * ----------------------------------------------------------------------------- */

package Effekseer.swig;

public final class EffekseerTextureType {
  public final static EffekseerTextureType Color = new EffekseerTextureType("Color");
  public final static EffekseerTextureType Normal = new EffekseerTextureType("Normal");
  public final static EffekseerTextureType Distortion = new EffekseerTextureType("Distortion");

  public final int swigValue() {
    return swigValue;
  }

  public String toString() {
    return swigName;
  }

  public static EffekseerTextureType swigToEnum(int swigValue) {
    if (swigValue < swigValues.length && swigValue >= 0 && swigValues[swigValue].swigValue == swigValue)
      return swigValues[swigValue];
    for (int i = 0; i < swigValues.length; i++)
      if (swigValues[i].swigValue == swigValue)
        return swigValues[i];
    throw new IllegalArgumentException("No enum " + EffekseerTextureType.class + " with value " + swigValue);
  }

  private EffekseerTextureType(String swigName) {
    this.swigName = swigName;
    this.swigValue = swigNext++;
  }

  private EffekseerTextureType(String swigName, int swigValue) {
    this.swigName = swigName;
    this.swigValue = swigValue;
    swigNext = swigValue+1;
  }

  private EffekseerTextureType(String swigName, EffekseerTextureType swigEnum) {
    this.swigName = swigName;
    this.swigValue = swigEnum.swigValue;
    swigNext = this.swigValue+1;
  }

  private static EffekseerTextureType[] swigValues = { Color, Normal, Distortion };
  private static int swigNext = 0;
  private final int swigValue;
  private final String swigName;
}





© 2015 - 2025 Weber Informatics LLC | Privacy Policy