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

com.jtransc.game.canvas.BaseTexture Maven / Gradle / Ivy

Go to download

JVM AOT compiler currently generating Javascript and Haxe, with initial focus on Kotlin and games.

There is a newer version: 0.5.0
Show newest version
package com.jtransc.game.canvas;

import com.jtransc.media.JTranscRender;

public class BaseTexture {
	public final int id;
	public final int width;
	public final int height;

	public BaseTexture(int id, int width, int height) {
		this.id = id;
		this.width = width;
		this.height = height;
	}

	public void dispose() {
		JTranscRender.disposeTexture(id);
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy