Skip to content

technoir-lab/vulkan-kotlin

Repository files navigation

Vulkan Kotlin

Build Maven Central Version

Kotlin Multiplatform bindings for Vulkan API, which add features like type safety, RAII, exceptions and integration with standard Kotlin libraries.

Getting Started

Add vulkan-kotlin dependency to your KMP project:

kotlin {
   sourceSets.commonMain {
       dependencies {
           implementation("io.technoirlab.vulkan:vulkan-kotlin:<latest version>")
       }
   }
}

Load Vulkan API and create instance:

val vulkan = Vulkan()
val instance = vulkan.createInstance()
...

See a sample project here.

Supported targets

  • androidNativeArm64
  • iosArm64
  • iosSimulatorArm64
  • linuxArm64
  • linuxX64
  • macosArm64
  • mingwX64

License

   Copyright 2025 Sergei Chelombitko

   Licensed under the Apache License, Version 2.0 (the "License");
   you may not use this file except in compliance with the License.
   You may obtain a copy of the License at

       http://www.apache.org/licenses/LICENSE-2.0

   Unless required by applicable law or agreed to in writing, software
   distributed under the License is distributed on an "AS IS" BASIS,
   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
   See the License for the specific language governing permissions and
   limitations under the License.

About

Kotlin/Native bindings for Vulkan API

Topics

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors 2

  •  
  •  

Languages