Calling texture compression via C# #777
-
Hi! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 5 replies
-
@ignarmezh, I assume you mean is it possible to call libktx functions from C# since toktx is an application.* I know very little about C# but I believe it is a language that manages all memory allocation similar to Java. If that is the case then I expect a native interface module, à la Java's JNI, is needed to enable C# programs to call functions in a native library. There is no such module in this project. If I'm not totally wrong and a module is needed, I'd be happy to accept a contribution to add one. * Most of what I'm converting this to a discussion. If the discussion identifies definitively that something is needed to interface from C#, an issue can be opened to request that something. |
Beta Was this translation helpful? Give feedback.
@ignarmezh, I assume you mean is it possible to call libktx functions from C# since toktx is an application.*
I know very little about C# but I believe it is a language that manages all memory allocation similar to Java. If that is the case then I expect a native interface module, à la Java's JNI, is needed to enable C# programs to call functions in a native library. There is no such module in this project. If I'm not totally wrong and a module is needed, I'd be happy to accept a contribution to add one.
* Most of what
toktx
does happens within libktx. The exceptions are scaling and resizing of images and mipmap generation.I'm converting this to a discussion. If the discussion identifies…