hxd.res.Image
hxd.res.Image
Inherits from: hxd.res.Resource
Fields
| Name | Type | |
|---|---|---|
tex | h3d.mat.Texture | |
inf | Virtual[bc, format, height, width] | |
| static | ALLOW_NPOT | Bool |
| static | DEFAULT_FILTER | h3d.mat.Filter |
| static | DEFAULT_ASYNC | Bool |
| static | ENABLE_AUTO_WATCH | Bool |
| static | decodeJPG | Fun |
| static | decodePNG | Fun |
Protos
f@5978getFormat(hxd.res.Image) → I32f@5979getSize(hxd.res.Image) → Virtual[height, width]f@5980getPixels(hxd.res.Image, hxd.PixelFormat, Null) → hxd.Pixelsf@5981watchCallb(hxd.res.Image) → Voidf@5982loadTexture(hxd.res.Image) → Voidf@5983toTexture(hxd.res.Image) → h3d.mat.Texturef@5973toTile(hxd.res.Image) → h2d.Tile
Bindings
- static
f@5977__constructor__(hxd.res.Image, hxd.fs.FileEntry) → Void - static
f@5976decodePNG(haxe.io.Bytes, I32, I32, hxd.PixelFormat, Bool) → hxd.Pixels - static
f@5975decodeJPG(haxe.io.Bytes, I32, I32, hxd.PixelFormat, Bool) → hxd.Pixels