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

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

package ru.casperix.opengl.renderer.impl

import ru.casperix.opengl.core.GLLocation
import ru.casperix.opengl.core.GLuint
import ru.casperix.opengl.core.glGetUniformLocation

class DeviceShader(val handle: GLuint, val vertexShader: String, val fragmentShader: String) {

    fun getLocation(name: String): GLLocation? {
        return glGetUniformLocation(handle, name)
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy