⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 gles_texcombiner_operatorrgb_enums.java

📁 java 3d game jme 工程开发源代码
💻 JAVA
字号:
/**
 * gles_texcombiner_operatorRGB_enums.java
 *
 * This file was generated by XMLSpy 2007sp2 Enterprise Edition.
 *
 * YOU SHOULD NOT MODIFY THIS FILE, BECAUSE IT WILL BE
 * OVERWRITTEN WHEN YOU RE-RUN CODE GENERATION.
 *
 * Refer to the XMLSpy Documentation for further details.
 * http://www.altova.com/xmlspy
 */


package com.jmex.model.collada.schema;

import com.jmex.xml.types.SchemaToken;

public class gles_texcombiner_operatorRGB_enums extends SchemaToken {
	public static final int EREPLACE = 0; /* REPLACE */
	public static final int EMODULATE = 1; /* MODULATE */
	public static final int EADD = 2; /* ADD */
	public static final int EADD_SIGNED = 3; /* ADD_SIGNED */
	public static final int EINTERPOLATE = 4; /* INTERPOLATE */
	public static final int ESUBTRACT = 5; /* SUBTRACT */
	public static final int EDOT3_RGB = 6; /* DOT3_RGB */
	public static final int EDOT3_RGBA = 7; /* DOT3_RGBA */

	public static String[] sEnumValues = {
		"REPLACE",
		"MODULATE",
		"ADD",
		"ADD_SIGNED",
		"INTERPOLATE",
		"SUBTRACT",
		"DOT3_RGB",
		"DOT3_RGBA",
	};

	public gles_texcombiner_operatorRGB_enums() {
		super();
	}

	public gles_texcombiner_operatorRGB_enums(String newValue) {
		super(newValue);
		validate();
	}

	public gles_texcombiner_operatorRGB_enums(SchemaToken newValue) {
		super(newValue);
		validate();
	}

	public static int getEnumerationCount() {
		return sEnumValues.length;
	}

	public static String getEnumerationValue(int index) {
		return sEnumValues[index];
	}

	public static boolean isValidEnumerationValue(String val) {
		for (int i = 0; i < sEnumValues.length; i++) {
			if (val.equals(sEnumValues[i]))
				return true;
		}
		return false;
	}

	public void validate() {

		if (!isValidEnumerationValue(toString()))
			throw new com.jmex.xml.xml.XmlException("Value of gles_texcombiner_operatorRGB_enums is invalid.");
	}
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -