commonMain.ru.casperix.opengl.renderer.exp.TileMapMaterial.kt Maven / Gradle / Ivy
package ru.casperix.opengl.renderer.exp
import ru.casperix.math.vector.float32.Vector2f
import ru.casperix.renderer.material.Material
import ru.casperix.renderer.material.Texture2D
import ru.casperix.renderer.material.Texture2DArray
enum class TileSmooth {
NONE,
LINEAR,
SMOOTHEST,
}
data class TileMapMaterial(val tileMap:Texture2D, val textureArray: Texture2DArray, val smooth: TileSmooth, val texScale:Vector2f = Vector2f(1f), val gird:Boolean = false) : Material
© 2015 - 2024 Weber Informatics LLC | Privacy Policy