Skip to content

h2d.SpriteBatch

h2d.SpriteBatch

Inherits from: h2d.Drawable

Fields

NameType
tileh2d.Tile
hasRotationScaleBool
hasUpdateBool
firsth2d.BatchElement
lasth2d.BatchElement
tmpBufhl.types.ArrayBytes_Single
bufferh3d.Buffer
bufferVerticesI32

Protos

  • f@1410 add(h2d.SpriteBatch, h2d.BatchElement, Ref) → h2d.BatchElement
  • f@1411 alloc(h2d.SpriteBatch, h2d.Tile) → h2d.BatchElement
  • f@1412 delete(h2d.SpriteBatch, h2d.BatchElement) → Void
  • f@1413 sync(h2d.SpriteBatch, h2d.RenderContext) → Void
  • f@1414 getBoundsRec(h2d.SpriteBatch, h2d.Object, h2d.col.Bounds, Bool) → Void
  • f@1415 flush(h2d.SpriteBatch) → Void
  • f@1416 draw(h2d.SpriteBatch, h2d.RenderContext) → Void
  • f@1417 drawWith(h2d.SpriteBatch, h2d.RenderContext, h2d.Drawable) → Void
  • f@1418 onRemove(h2d.SpriteBatch) → Void

Bindings

  • static f@1453 __constructor__(h2d.SpriteBatch, h2d.Tile, h2d.Object) → Void