Skip to content

how to find a supported texture format #3513

Answered by bejado
jwwalker asked this question in Q&A
Discussion options

You must be logged in to vote

For Metal at least, you can check here:

inline MTLPixelFormat getMetalFormat(TextureFormat format) noexcept {

Metal doesn't support 3-component textures natively.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@jwwalker
Comment options

@romainguy
Comment options

Answer selected by jwwalker
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