lonto11/01/2021, 2:25 PM
for iOS on the
. One of the steps is loading the shader library : iOS version
shared library module
let library = gpuDevice.makeDefaultLibrary()! let function = library.makeFunction(name: "customEffect")
I have done it before on iOS but I am wondering how it is possible to achieve the same on the shared module (.metal files on Android Studio), as the
val library: MTLLibraryProtocol? = gpuDevice?.newDefaultLibrary()
files are required to load the library.