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

commonMain.ru.casperix.opengl.renderer.impl.DeviceGraphicData.kt Maven / Gradle / Ivy

There is a newer version: 0.11.1
Show newest version
package ru.casperix.opengl.renderer.impl

import ru.casperix.misc.Disposable
import ru.casperix.opengl.renderer.DeviceGeometryBuffer
import ru.casperix.opengl.renderer.shader.ShaderController
import ru.casperix.renderer.vector.VectorGraphic


class DeviceGraphicData(
    val graphic: VectorGraphic,
    val shader: ShaderController,
    val buffer: DeviceGeometryBuffer,
) : Disposable {


    var isDisposed = false; private set

    override fun dispose() {
        isDisposed = true
        buffer.dispose()
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy