commonMain.korlibs.graphics.log.AGDummy.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of korgw Show documentation
Show all versions of korgw Show documentation
Portable UI with accelerated graphics support for Kotlin
package korlibs.graphics.log
import korlibs.graphics.*
import korlibs.math.geom.*
open class AGDummy(size: Size = Size(640, 480)) : AG() {
init {
mainFrameBuffer.setSize(size.width.toInt(), size.height.toInt())
}
override val graphicExtensions: Set get() = emptySet()
override val isInstancedSupported: Boolean get() = true
override val isFloatTextureSupported: Boolean get() = true
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy