Skip to content
This repository has been archived by the owner on Dec 31, 2020. It is now read-only.

Updated C-API to expose some functionality present in the C++ API #301

Merged
merged 1 commit into from Sep 9, 2019

Conversation

Starnick
Copy link
Contributor

@Starnick Starnick commented Sep 7, 2019

Hello there!

I recently found out that the library actually supported outputting KTX files and not just DDS (I only use the C-API). I did a pass on other stuff that was missing from the C-API as well.

Added the following functions and enums:

nvttSetOutputOptionsContainer [and NvttContainer, KTX/DDS10 formats can now be set as the output container]
nvttSetOutputOptionsSrgbFlag
nvttSetOutputOptionsErrorHandler [rearranged NvttError enum to match layout of nvtt::error]
nvttEnableCudaAcceleration
nvttIsCudaAccelerationEnabled

…ded the following functions and enums:

nvttSetOutputOptionsContainer [and NvttContainer, KTX/DDS10 formats can now be set as the output container]
nvttSetOutputOptionsSrgbFlag
nvttSetOutputOptionsErrorHandler [rearranged NvttError enum to match layout of nvtt::error]
nvttEnableCudaAcceleration
nvttIsCudaAccelerationEnabled
@castano castano merged commit a131e4c into castano:master Sep 9, 2019
@castano
Copy link
Owner

castano commented Sep 9, 2019

Looks good! Thanks for your contribution!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants