Skip to content
Discussion options

You must be logged in to vote

Hi Sebastian,

  1. What is the recommended way to minimize Filament startup time on iOS with the Metal backend?

Precompiling Metal shaders is a good low-hanging fruit to start with.

  1. Is embedding precompiled .metallib shaders into .mat or .filamat files officially supported (targeting just metal be or metal + other)?

Yes, this is supported with the matedit tool (see below on instructions for use). Right now it only makes sense for the Metal backend.

  1. Will such materials fully skip the runtime Metal shader compilation step?

They will skip the expensive part, yes. Precompiled .metallib binaries still need to be transformed (by Metal) to a GPU-specific binary, but this step is much faster.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@ArMuSebastian
Comment options

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