Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

VideoCommon: add custom asset implementation and asset library #11871

Merged
merged 1 commit into from Jun 2, 2023

Conversation

iwubcode
Copy link
Contributor

@iwubcode iwubcode commented Jun 2, 2023

@AdmiralCurtiss - I know you've been reviewing a lot and I hope to make things easier for you when I can. Not sure why I didn't think of this originally but here's a more thinned down version of #11858 . Hopefully more mergeable :). Also, moved assets to 'Assets' folder. I've been sticking everything in GraphicsMods which is just bad practice... (CustomTextureData will move to 'Assets' too in a future review)

For those not following along, this adds a generic CustomAsset interface that can be used to load specific data for a particular object we consider an Asset (think of a texture). This also provides a CustomAssetLibrary which knows given an AssetID (a string) what asset to load. What that load looks like is dependent on the library implementation itself (no implementations are provided in this review but they will be in a future review).

@AdmiralCurtiss AdmiralCurtiss merged commit 45a21ef into dolphin-emu:master Jun 2, 2023
14 checks passed
@AdmiralCurtiss
Copy link
Contributor

Yeah this is fine I think.

@iwubcode iwubcode deleted the custom-assets branch June 2, 2023 19:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants