Skip to content

Calling texture compression via C# #777

Answered by MarkCallow
ignarmezh asked this question in Q&A
Discussion options

You must be logged in to vote

@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…

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@ignarmezh
Comment options

@MarkCallow
Comment options

@HouleAdrien
Comment options

@MarkCallow
Comment options

@HouleAdrien
Comment options

Answer selected by MarkCallow
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants
Converted from issue

This discussion was converted from issue #775 on October 02, 2023 06:46.