Kotlin/Native bindings for Volk, meta loader for Vulkan API.
- iosArm64
- iosSimulatorArm64
- linuxArm64
- linuxX64
- macosArm64
- mingwX64
-
Add your personal GitHub credentials to
~/.gradle/gradle.properties
:gpr.user=your-github-username gpr.token=your-personal-access-token
-
Add this repository's package registry to your project's Maven repositories in
settings.gradle.kts
:dependencyResolutionManagement { repositories { maven("https://maven.pkg.github.com/technoir42/volk-kotlin") { name = "volk-kotlin" credentials { username = providers.gradleProperty("gpr.user").get() password = providers.gradleProperty("gpr.token").get() } } } }
-
Add Volk Kotlin dependency:
kotlin { sourceSets { val commonMain by getting { dependencies { implementation("io.github.technoir42:volk:<volk version>") } } } }
-
Use Volk bindings from Kotlin:
import volk.volkInitialize val result = volkInitialize()
This library is available to anybody free of charge, under the terms of MIT License.