Skip to content

Support of custom texture formats - #872

Open
rzer wants to merge 1 commit into
Gamua:masterfrom
rzer:master
Open

Support of custom texture formats#872
rzer wants to merge 1 commit into
Gamua:masterfrom
rzer:master

Conversation

@rzer

@rzer rzer commented May 27, 2016

Copy link
Copy Markdown

Example of adding WebP texture support
(http://soywiz.github.io/as3libwebp/)

import libwebp.DecodeWebp;

assets = new Assets(scaleFactor);
assets.addTextureProcessor("webp", DecodeWebp);
assets.enqueue("example.webp");

Example of adding WebP texture support
(http://soywiz.github.io/as3libwebp/)

import libwebp.DecodeWebp;

assets = new Assets(scaleFactor);
assets.addTextureProcessor("webp", DecodeWebp);
assets.enqueue("example.webp");
@PrimaryFeather PrimaryFeather added this to the Starling 2.1 milestone May 30, 2016
@PrimaryFeather

Copy link
Copy Markdown
Contributor

Thanks a lot for the pull request!
I plan to rewrite the AssetManager soon (for Starling 2.1), and I'll look into your pull request in detail then.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants