Returning bits per channel? #1527
Answered
by
nothings
marauder2k7
asked this question in
Q&A
-
Trying to implement stb image for loading and writing files, was curious if there is a way to return the bits per channel? in our engine we support 16bpc and 32bpc textures for some very specific cases. I can see that there is a specific 16bpc load from memory but i can't see how to be able to tell programmatically from the documentation as to how to tell when that should be used? |
Beta Was this translation helpful? Give feedback.
Answered by
nothings
Oct 12, 2023
Replies: 1 comment 2 replies
-
We don't support 32-bit except float. |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
marauder2k7
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
stbi_is_16_bit
andstbi_is_16_bit_from_memory
.We don't support 32-bit except float.