Skip to content

Load shader asset bundles asynchronously#28

Open
Phantomical wants to merge 1 commit into
KSPModdingLibs:mainfrom
Phantomical:async-bundle-load
Open

Load shader asset bundles asynchronously#28
Phantomical wants to merge 1 commit into
KSPModdingLibs:mainfrom
Phantomical:async-bundle-load

Conversation

@Phantomical

Copy link
Copy Markdown

Loading these synchronously means that you get a big stall if anything else happens to be loading asset bundles at the same time, since the sync load blocks until the existing load completes.

I'm working on some experiments within KSPCF that will use the asset bundle pipeline to load textures with the end goal being to enable mipmap streaming for all part textures. Shabby doing a sync bundle load is currently the one thing stopping this from performing decently.

Loading these synchronously means that you get a big stall if anything
else happens to be loading asset bundles at the same time, since the
sync load blocks until the existing load completes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant