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

com.huskerdev.openglfx.canvas.events.GLRenderEvent.kt Maven / Gradle / Ivy

There is a newer version: 4.1.14
Show newest version
package com.huskerdev.openglfx.canvas.events

import javafx.beans.NamedArg
import javafx.event.Event
import javafx.event.EventType


open class GLRenderEvent(
    @NamedArg("eventType") eventType: EventType,
    @JvmField val fps: Int,
    @JvmField val delta: Double,
    @JvmField val width: Int,
    @JvmField val height: Int,
    @JvmField val fbo: Int,
) : Event(eventType) {

    companion object {
        private const val serialVersionUID = 20220503L

        /**
         * Common supertype for all event types.
         */
        @JvmStatic
        val ANY: EventType = EventType(Event.ANY, "GL_RENDER")
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy