Skip to content

hxd.Pixels

hxd.Pixels

Fields

NameType
byteshaxe.io.Bytes
widthI32
heightI32
offsetI32
flagsI32
bytesPerPixelI32
innerFormathxd.PixelFormat
staticgetBytesPerPixelFun
staticallocFun

Protos

  • f@1341 set_innerFormat(hxd.Pixels, hxd.PixelFormat) → hxd.PixelFormat
  • f@1342 invalidFormat(hxd.Pixels) → Void
  • f@1343 sub(hxd.Pixels, I32, I32, I32, I32) → hxd.Pixels
  • f@1344 blit(hxd.Pixels, I32, I32, hxd.Pixels, I32, I32, I32, I32) → Void
  • f@1345 toVector(hxd.Pixels) → hl.types.ArrayBytes_Int
  • f@1346 makeSquare(hxd.Pixels, Null) → hxd.Pixels
  • f@1347 copyInner(hxd.Pixels) → Void
  • f@1348 setFlip(hxd.Pixels, Bool) → Void
  • f@1349 convert(hxd.Pixels, hxd.PixelFormat) → Void
  • f@1350 getPixel(hxd.Pixels, I32, I32) → I32
  • f@1351 setPixel(hxd.Pixels, I32, I32, I32) → Void
  • f@1352 dispose(hxd.Pixels) → Void
  • f@1353 toPNG(hxd.Pixels, Null) → haxe.io.Bytes

Bindings

  • static f@1356 __constructor__(hxd.Pixels, I32, I32, haxe.io.Bytes, hxd.PixelFormat, Ref) → Void
  • static f@1355 alloc(I32, I32, hxd.PixelFormat) → hxd.Pixels
  • static f@1354 getBytesPerPixel(hxd.PixelFormat) → I32