Newer
Older
Cactus-CleanArchitecture / app / src / main / java / org / ntlab / radishforandroidstudio / java3d / Texture2D.java
n-konishi on 14 May 2018 449 bytes first commit
package org.ntlab.radishforandroidstudio.java3d;

public class Texture2D extends Texture {

	public Texture2D(int mipmapMode, int format, int width, int hight) {
		super(mipmapMode, format, width, hight);
		imageComponents = new ImageComponent[1];
	}

	@Override
	public NodeComponent cloneNodeComponent() {
		Texture2D tex2D = new Texture2D(mipmapMode, format, width, hight);
		tex2D.imageComponents = imageComponents.clone();
		return tex2D;
	}
}