altv-issues icon indicating copy to clipboard operation
altv-issues copied to clipboard

Ability to get streamed texture in CEF

Open zziger opened this issue 3 years ago • 0 comments

Description of the problem

In GTA's scaleforms you can use urls of format img://texture_dictionary/texture_name in order to get streamed texture (its used as src attr for images). It would be easier to make UIs that use more GTA assets if that would be implemented.

Desired solution for the problem

Handling of img://texture_dictionary/texture_name URLs. URL should return probably texture converted to PNG format, or otherwise it would be needed to somehow implement DDS support in CEF

Alternatives you considered

Export assets to PNGs

Additional context

No response

Version

No response

zziger avatar Oct 11 '22 21:10 zziger